de.grogra.imp3d.glsl.light.shadow
Class GLSLDirectionalLightShadow
java.lang.Object
de.grogra.imp3d.glsl.utility.GLSLShader
de.grogra.imp3d.glsl.utility.GLSLManagedShader
de.grogra.imp3d.glsl.light.GLSLLightShader
de.grogra.imp3d.glsl.light.GLSLDirectionalLight
de.grogra.imp3d.glsl.light.shadow.GLSLDirectionalLightShadow
- All Implemented Interfaces:
- GLSLOpenGLObject
- Direct Known Subclasses:
- GLSLSkyLightShadow
public class GLSLDirectionalLightShadow
- extends GLSLDirectionalLight
Implementation of the directional light type.
- Author:
- Konni Hartmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GLSLDirectionalLightShadow
public GLSLDirectionalLightShadow()
canDisplayShadows
public boolean canDisplayShadows()
- Overrides:
canDisplayShadows
in class GLSLLightShader
getInstance
public GLSLShader getInstance()
- Description copied from class:
GLSLShader
- For "hardcompiled" Shaders this method should return a new instance
- Overrides:
getInstance
in class GLSLDirectionalLight
- Returns:
getLightFunction
public java.lang.String getLightFunction()
- Description copied from class:
GLSLLightShader
- Sets middle part of a light shader (after properties
have been extracted from deferred-shading-textures
- Overrides:
getLightFunction
in class GLSLDirectionalLight
- Returns:
setupShader
public void setupShader(javax.media.opengl.GL gl,
GLSLDisplay disp,
java.lang.Object data)
- Overrides:
setupShader
in class GLSLDirectionalLight