public class GouraudMaterial extends AAdvancedMaterial
M_FOG_FRAGMENT_CALC, M_FOG_FRAGMENT_COLOR, M_FOG_FRAGMENT_VARS, M_FOG_VERTEX_DEPTH, M_FOG_VERTEX_VARS| Constructor and Description |
|---|
GouraudMaterial() |
GouraudMaterial(boolean isAnimated) |
GouraudMaterial(float[] specularColor) |
| Modifier and Type | Method and Description |
|---|---|
void |
setShaders(java.lang.String vertexShader,
java.lang.String fragmentShader) |
void |
setSpecularColor(float[] color) |
void |
setSpecularColor(float r,
float g,
float b,
float a) |
void |
setSpecularColor(int color) |
void |
setSpecularIntensity(float[] intensity) |
void |
setSpecularIntensity(float r,
float g,
float b,
float a) |
void |
useProgram() |
setAmbientColor, setAmbientColor, setAmbientColor, setAmbientColor, setAmbientIntensity, setAmbientIntensity, setAmbientIntensity, setCamera, setFogColor, setFogEnabled, setFogFar, setFogNear, setLightParams, setLights, setModelMatrixaddTexture, addTexture, addTexture, bindTextures, copyTexturesTo, getModelViewMatrix, getTextureInfoList, getUseColor, reload, setColors, setInterpolation, setMVPMatrix, setNextFrameNormals, setNextFrameVertices, setNormals, setShaders, setTextureCoords, setTextureCoords, setUseColor, setVertices, setViewMatrix, toString, unbindTextures, unloadpublic GouraudMaterial()
public GouraudMaterial(boolean isAnimated)
public GouraudMaterial(float[] specularColor)
public void useProgram()
useProgram in class AAdvancedMaterialpublic void setSpecularColor(float[] color)
public void setSpecularColor(float r,
float g,
float b,
float a)
public void setSpecularColor(int color)
public void setSpecularIntensity(float[] intensity)
public void setSpecularIntensity(float r,
float g,
float b,
float a)
public void setShaders(java.lang.String vertexShader,
java.lang.String fragmentShader)
setShaders in class AAdvancedMaterial