|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.effect.light.ogllight.AbstractLight
de.rico.engine.effect.light.ogllight.PositionalLight
de.rico.engine.effect.light.ogllight.SpotLight
de.rico.engine.effect.light.shaderlight.ShaderSpotLight
@Deprecated public class ShaderSpotLight
This class uses a GLSL shader to create a per pixel spot light. Be aware that you cannot use a simple OpenGL light and a shader light together on the same objects concurrently. You can't apply OpenGL lights to objects that have already a shader light applied.
| Constructor Summary | |
|---|---|
ShaderSpotLight()
Deprecated. Creates a new per pixel shader spot light light. |
|
| Method Summary | |
|---|---|
void |
bind(javax.media.opengl.GL gl)
Deprecated. Starts using the light. |
void |
release(javax.media.opengl.GL gl)
Deprecated. Stops using the light. |
| Methods inherited from class de.rico.engine.effect.light.ogllight.SpotLight |
|---|
getCutoff, getDirection, getExponent, getRotX, getRotY, setCutOff, setDirection, setDirection, setExponent, setRotX, setRotY |
| Methods inherited from class de.rico.engine.effect.light.ogllight.PositionalLight |
|---|
getConstAttenuation, getLinearAttenuation, getPosition, getQuadraticAttenuation, setConstAttenuation, setLinearAttenuation, setPosition, setPosition, setQuadraticAttenuation, setShowLightPosition, setX, setY, setZ |
| Methods inherited from class de.rico.engine.effect.light.ogllight.AbstractLight |
|---|
destroy, getAmbient, getDiffuse, getLightNr, getLightNrOGLConst, getSpecular, isEnabled, setAmbient, setAmbient, setDiffuse, setDiffuse, setEnabled, setSpecular, setSpecular |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.rico.engine.effect.light.PositionalLightIface |
|---|
getPosition, setPosition, setPosition, setX, setY, setZ |
| Methods inherited from interface de.rico.engine.effect.light.LightIface |
|---|
destroy, setEnabled |
| Constructor Detail |
|---|
public ShaderSpotLight()
| Method Detail |
|---|
public void bind(javax.media.opengl.GL gl)
LightIface
bind in interface LightIfacebind in class SpotLightpublic void release(javax.media.opengl.GL gl)
LightIface
release in interface LightIfacerelease in class AbstractLight
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||