java.lang.Object
de.grogra.glsl.utility.GLSLTexture
de.grogra.glsl.utility.GLSLSkyCube
- All Implemented Interfaces:
GLSLOpenGLObject
Implements a textureCube to be used as a reference for Sky-Illumination.
- Author:
- Konni Hartman
-
Field Summary
Fields inherited from class de.grogra.glsl.utility.GLSLTexture
height, index, internalFormat, texType, type, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
create
(javax.media.opengl.GL gl) boolean
create
(javax.media.opengl.GL gl, int width, int height) void
finish
(javax.media.opengl.GL gl) getLightToView
(int side) setupAsRTAttachment
(javax.media.opengl.GL gl, int direction) Methods inherited from class de.grogra.glsl.utility.GLSLTexture
bindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidth
-
Constructor Details
-
GLSLSkyCube
public GLSLSkyCube()
-
-
Method Details
-
create
public boolean create(javax.media.opengl.GL gl) -
create
public boolean create(javax.media.opengl.GL gl, int width, int height) -
setupAsRTAttachment
-
finish
public void finish(javax.media.opengl.GL gl) -
getLightToView
-
getViewToClip
-