public class PBRDepthShader
extends com.badlogic.gdx.graphics.g3d.shaders.DepthShader
com.badlogic.gdx.graphics.g3d.shaders.DepthShader.Configcom.badlogic.gdx.graphics.g3d.shaders.DefaultShader.Inputs, com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.Setterscom.badlogic.gdx.graphics.g3d.shaders.BaseShader.GlobalSetter, com.badlogic.gdx.graphics.g3d.shaders.BaseShader.LocalSetter, com.badlogic.gdx.graphics.g3d.shaders.BaseShader.Setter, com.badlogic.gdx.graphics.g3d.shaders.BaseShader.Uniform, com.badlogic.gdx.graphics.g3d.shaders.BaseShader.Validator| Modifier and Type | Field and Description |
|---|---|
long |
morphTargetsMask |
ambientCubemap, attributesMask, config, defaultCullFace, defaultDepthFunc, directionalLights, dirLightsColorOffset, dirLightsDirectionOffset, dirLightsLoc, dirLightsSize, environmentCubemap, implementedFlags, lighting, pointLights, pointLightsColorOffset, pointLightsIntensityOffset, pointLightsLoc, pointLightsPositionOffset, pointLightsSize, shadowMap, spotLights, spotLightsColorOffset, spotLightsCutoffAngleOffset, spotLightsDirectionOffset, spotLightsExponentOffset, spotLightsIntensityOffset, spotLightsLoc, spotLightsPositionOffset, spotLightsSize, u_alphaTest, u_ambientCubemap, u_ambientTexture, u_ambientUVTransform, u_bones, u_cameraDirection, u_cameraNearFar, u_cameraPosition, u_cameraUp, u_diffuseColor, u_diffuseTexture, u_diffuseUVTransform, u_dirLights0color, u_dirLights0direction, u_dirLights1color, u_emissiveColor, u_emissiveTexture, u_emissiveUVTransform, u_environmentCubemap, u_fogColor, u_normalMatrix, u_normalTexture, u_normalUVTransform, u_opacity, u_pointLights0color, u_pointLights0intensity, u_pointLights0position, u_pointLights1color, u_projTrans, u_projViewTrans, u_projViewWorldTrans, u_reflectionColor, u_reflectionTexture, u_reflectionUVTransform, u_shadowMapProjViewTrans, u_shadowPCFOffset, u_shadowTexture, u_shininess, u_specularColor, u_specularTexture, u_specularUVTransform, u_spotLights0color, u_spotLights0cutoffAngle, u_spotLights0direction, u_spotLights0exponent, u_spotLights0intensity, u_spotLights0position, u_spotLights1color, u_time, u_viewTrans, u_viewWorldTrans, u_worldTrans| Constructor and Description |
|---|
PBRDepthShader(com.badlogic.gdx.graphics.g3d.Renderable renderable,
com.badlogic.gdx.graphics.g3d.shaders.DepthShader.Config config,
java.lang.String prefix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRender(com.badlogic.gdx.graphics.g3d.Renderable renderable) |
protected long |
computeMorphTargetsMask(com.badlogic.gdx.graphics.g3d.Renderable renderable) |
void |
init() |
void |
render(com.badlogic.gdx.graphics.g3d.Renderable renderable,
com.badlogic.gdx.graphics.g3d.Attributes combinedAttributes) |
begin, createPrefix, end, getDefaultFragmentShader, getDefaultVertexShaderbindLights, bindMaterial, compareTo, createPrefix, dispose, equals, equals, getDefaultCullFace, getDefaultDepthFunc, setDefaultCullFace, setDefaultDepthFuncpublic PBRDepthShader(com.badlogic.gdx.graphics.g3d.Renderable renderable,
com.badlogic.gdx.graphics.g3d.shaders.DepthShader.Config config,
java.lang.String prefix)
protected long computeMorphTargetsMask(com.badlogic.gdx.graphics.g3d.Renderable renderable)
public boolean canRender(com.badlogic.gdx.graphics.g3d.Renderable renderable)
canRender in interface com.badlogic.gdx.graphics.g3d.ShadercanRender in class com.badlogic.gdx.graphics.g3d.shaders.DepthShaderpublic void init()
init in interface com.badlogic.gdx.graphics.g3d.Shaderinit in class com.badlogic.gdx.graphics.g3d.shaders.DefaultShaderpublic void render(com.badlogic.gdx.graphics.g3d.Renderable renderable,
com.badlogic.gdx.graphics.g3d.Attributes combinedAttributes)
render in class com.badlogic.gdx.graphics.g3d.shaders.DepthShader