de.grogra.imp3d.glsl.utility
Class GLSLSkyCube
java.lang.Object
de.grogra.imp3d.glsl.utility.GLSLTexture
de.grogra.imp3d.glsl.utility.GLSLSkyCube
- All Implemented Interfaces:
- GLSLOpenGLObject
public class GLSLSkyCube
- extends GLSLTexture
Implements a textureCube to be used as a reference for Sky-Illumination.
- Author:
- Konni Hartman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLSLSkyCube
public GLSLSkyCube()
create
public boolean create(javax.media.opengl.GL gl)
create
public boolean create(javax.media.opengl.GL gl,
int width,
int height)
finish
public void finish(javax.media.opengl.GL gl)
getLightToView
public Matrix4d getLightToView(int side)
getViewToClip
public Matrix4d getViewToClip()
setupAsRTAttachment
public Matrix4d setupAsRTAttachment(javax.media.opengl.GL gl,
int direction)