de.grogra.imp3d.glsl.light.shadow
public class GLSLDirectionalLightShadow extends GLSLDirectionalLight
col0, lightDir, radientPowerspec, stdVconfig| Constructor and Description |
|---|
GLSLDirectionalLightShadow() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisplayShadows() |
GLSLShader |
getInstance()
For "hardcompiled" Shaders this method should return a new instance
|
java.lang.String |
getLightFunction()
Sets middle part of a light shader (after properties
have been extracted from deferred-shading-textures
|
void |
setupShader(javax.media.opengl.GL gl,
GLSLDisplay disp,
java.lang.Object data) |
getFragmentShader, instanceFor, needsRecompilation, setupDynamicUniformsgetLightShaderConfig, getVertexShader, toStringdeleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stampactivateShader, cleanup, getShaderProgramNumber, printProgramInfoLogpublic boolean canDisplayShadows()
canDisplayShadows in class GLSLLightShaderpublic GLSLShader getInstance()
GLSLShadergetInstance in class GLSLDirectionalLightpublic java.lang.String getLightFunction()
GLSLLightShadergetLightFunction in class GLSLDirectionalLightpublic void setupShader(javax.media.opengl.GL gl,
GLSLDisplay disp,
java.lang.Object data)
setupShader in class GLSLDirectionalLight