|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.GLSLSkyLight
public class GLSLSkyLight
Implementation of the directional light type.
Field Summary |
---|
Fields inherited from class de.grogra.imp3d.glsl.light.GLSLDirectionalLight |
---|
col0, lightDir, radientPower |
Fields inherited from class de.grogra.imp3d.glsl.light.GLSLLightShader |
---|
spec, stdV |
Fields inherited from class de.grogra.imp3d.glsl.utility.GLSLManagedShader |
---|
config |
Constructor Summary | |
---|---|
GLSLSkyLight()
|
Method Summary | |
---|---|
GLSLShader |
getInstance()
For "hardcompiled" Shaders this method should return a new instance |
java.lang.Class |
instanceFor()
|
void |
setupDynamicUniforms(javax.media.opengl.GL gl,
GLSLDisplay disp,
java.lang.Object data,
int shaderNo)
Function that loads uniforms of the represented Shader. |
Methods inherited from class de.grogra.imp3d.glsl.light.GLSLDirectionalLight |
---|
getFragmentShader, getLightFunction, needsRecompilation, setupShader |
Methods inherited from class de.grogra.imp3d.glsl.light.GLSLLightShader |
---|
canDisplayShadows, getLightShaderConfig, getVertexShader, toString |
Methods inherited from class de.grogra.imp3d.glsl.utility.GLSLManagedShader |
---|
deleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stamp |
Methods inherited from class de.grogra.imp3d.glsl.utility.GLSLShader |
---|
activateShader, cleanup, getShaderProgramNumber, printProgramInfoLog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GLSLSkyLight()
Method Detail |
---|
public GLSLShader getInstance()
GLSLShader
getInstance
in class GLSLDirectionalLight
public java.lang.Class instanceFor()
instanceFor
in class GLSLDirectionalLight
public void setupDynamicUniforms(javax.media.opengl.GL gl, GLSLDisplay disp, java.lang.Object data, int shaderNo)
GLSLShader
setupDynamicUniforms
in class GLSLDirectionalLight
disp
- GLSLDisplay that tries using this shaderdata
- The GroIMP-Shader-Object represented by this shader.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |