XJRT Rendering Toolkit 1.0b06

Class SolidMarbleWrl

java.lang.Object
  extended byorg.autochthonous.graphics.rt.Shader
      extended byorg.autochthonous.graphics.rt.shaders.CookTorranceShader
          extended byorg.autochthonous.graphics.rt.shaders.ct.Plastic
              extended byorg.autochthonous.graphics.rt.shaders.ct.TurbulenceShader
                  extended bySolidMarbleWrl

public class SolidMarbleWrl
extends TurbulenceShader

a solid marble shader


Field Summary
 
Fields inherited from class org.autochthonous.graphics.rt.shaders.ct.TurbulenceShader
base, blend, blendColor, colorMap, generator, octaves, percentageTurbulence, squeeze
 
Fields inherited from class org.autochthonous.graphics.rt.shaders.ct.Plastic
diffuse, maxLevel, reflectance, reflectingSurface, reflectionRoughness, refractiveIndex, roughness, specular, transparency, transparentSurface
 
Fields inherited from class org.autochthonous.graphics.rt.shaders.CookTorranceShader
ambient
 
Fields inherited from class org.autochthonous.graphics.rt.Shader
alpha, name, trans, world
 
Constructor Summary
SolidMarbleWrl(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.autochthonous.graphics.rt.shaders.ct.TurbulenceShader
processObject, processParameters, setBlendColor, setPercentageTurbulence, setSqueeze, turbulence
 
Methods inherited from class org.autochthonous.graphics.rt.shaders.ct.Plastic
isReflecting, isSpecular, isTransparent, setDiffuse, setDiffuse, setDiffuse, setReflectance, setReflectance, setReflectionRoughness, setRefractiveIndex, setRoughness, setSpecular, setTransparency, setTransparency
 
Methods inherited from class org.autochthonous.graphics.rt.shaders.CookTorranceShader
ambientContribution, diffuseContribution, setAmbient, setAmbient, specularContribution
 
Methods inherited from class org.autochthonous.graphics.rt.Shader
clamp, getName, 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

SolidMarbleWrl

public SolidMarbleWrl(World world)
Method Detail

getInstance

public static Shader getInstance(World world,
                                 RMLReader in)
                          throws java.io.IOException
Throws:
java.io.IOException

shade

public void shade(Hit hit,
                  Pixel p)
the shade routine. If you want more than the below, this is the method to override.

Specified by:
shade in class TurbulenceShader

XJRT Rendering Toolkit 1.0b06