|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.graphics.rt.Shader | +--org.bouncycastle.graphics.rt.shaders.CookTorranceShader | +--org.bouncycastle.graphics.rt.shaders.ct.Ambient
An ambient only surface shader.
Example:
<Ambient ambient="0.9"/>
Document Type Definition:
<!ENTITY %Float "CDATA">
<!ENTITY %Color3f "CDATA">
<!ELEMENT Ambient EMPTY>
<!ATTLIST Ambient
ambient (%Color3f; | %Float;) "0, 0, 0">
Fields inherited from class org.bouncycastle.graphics.rt.shaders.CookTorranceShader |
ambient |
Fields inherited from class org.bouncycastle.graphics.rt.Shader |
alpha, trans, world |
Constructor Summary | |
Ambient(World world)
|
Method Summary | |
static Shader |
getInstance(World world,
RMLReader in)
|
void |
shade(Hit hit,
Pixel p)
the shade routine. |
Methods inherited from class org.bouncycastle.graphics.rt.shaders.CookTorranceShader |
ambientContribution, diffuseContribution, processParameters, setAmbient, setAmbient, specularContribution |
Methods inherited from class org.bouncycastle.graphics.rt.Shader |
clamp, processObject, readObject, setAlpha, toShaderSpace, toShaderSpace, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Ambient(World world)
Method Detail |
public static Shader getInstance(World world, RMLReader in) throws java.io.IOException
public void shade(Hit hit, Pixel p)
CookTorranceShader
shade
in class CookTorranceShader
|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |