de.grogra.imp3d.glsl.light
public class GLSLSkyLight extends GLSLDirectionalLight
col0, lightDir, radientPowerspec, stdVconfig| Constructor and Description |
|---|
GLSLSkyLight() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getFragmentShader, getLightFunction, needsRecompilation, setupShadercanDisplayShadows, getLightShaderConfig, getVertexShader, toStringdeleteShader, getConfig, getMaterial_stamp, setConfig, setMaterial_stampactivateShader, cleanup, getShaderProgramNumber, printProgramInfoLogpublic GLSLShader getInstance()
GLSLShadergetInstance in class GLSLDirectionalLightpublic java.lang.Class instanceFor()
instanceFor in class GLSLDirectionalLightpublic void setupDynamicUniforms(javax.media.opengl.GL gl,
GLSLDisplay disp,
java.lang.Object data,
int shaderNo)
GLSLShadersetupDynamicUniforms in class GLSLDirectionalLightdisp - GLSLDisplay that tries using this shaderdata - The GroIMP-Shader-Object represented by this shader.