Package gaiasky.util.gdx.shader
Class DefaultIntShader.Config
java.lang.Object
gaiasky.util.gdx.shader.DefaultIntShader.Config
- Direct Known Subclasses:
DepthIntShader.Config
,TessellationShaderProvider.Config
- Enclosing class:
- DefaultIntShader
-
Field Summary
Modifier and TypeFieldDescriptionint
Set to 0 to disable culling.int
Set to 0 to disable depth test.The uber fragment shader to use, null to use the default fragment shader.File with the fragment shader, if anyint
The number of bones to useint
The number of directional lights to useint
The number of point lights to useint
The number of spotlights to useThe uber vertex shader to use, null to use the default vertex shader.File with the vertex shader, if any -
Constructor Summary
-
Method Summary
-
Field Details
-
vertexShaderFile
File with the vertex shader, if any -
fragmentShaderFile
File with the fragment shader, if any -
vertexShaderCode
The uber vertex shader to use, null to use the default vertex shader. -
fragmentShaderCode
The uber fragment shader to use, null to use the default fragment shader. -
numDirectionalLights
public int numDirectionalLightsThe number of directional lights to use -
numPointLights
public int numPointLightsThe number of point lights to use -
numSpotLights
public int numSpotLightsThe number of spotlights to use -
numBones
public int numBonesThe number of bones to use -
defaultCullFace
public int defaultCullFaceSet to 0 to disable culling. -
defaultDepthFunc
public int defaultDepthFuncSet to 0 to disable depth test.
-
-
Constructor Details
-
Config
public Config() -
Config
-
Config
-