Module gl1

Class GLSLSkyLight

All Implemented Interfaces:
GLSLOpenGLObject

public class GLSLSkyLight extends GLSLDirectionalLight
Implementation of the directional light type.
Author:
Konni Hartmann
  • Constructor Details Link icon

    • GLSLSkyLight Link icon

      public GLSLSkyLight()
  • Method Details Link icon

    • instanceFor Link icon

      public Class instanceFor()
      Overrides:
      instanceFor in class GLSLDirectionalLight
      Returns:
      Class represented by this Shader
    • setupDynamicUniforms Link icon

      public void setupDynamicUniforms(javax.media.opengl.GL gl, GLSLDisplay disp, Object data, int shaderNo)
      Description copied from class: GLSLShader
      Function that loads uniforms of the represented Shader.
      Overrides:
      setupDynamicUniforms in class GLSLDirectionalLight
      Parameters:
      gl -
      disp - GLSLDisplay that tries using this shader
      data - The GroIMP-Shader-Object represented by this shader.
    • getInstance Link icon

      public GLSLShader getInstance()
      Description copied from class: GLSLShader
      For "hardcompiled" Shaders this method should return a new instance
      Overrides:
      getInstance in class GLSLDirectionalLight
      Returns: