XJRT Rendering Toolkit 1.0b06

Class WaveShader

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 byWaveShader

public class WaveShader
extends Plastic

a wave based shader


Field Summary
protected  Color3f base
           
protected  WaveSourceList waveList
           
 
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
WaveShader(World world)
           
 
Method Summary
static Shader getInstance(World world, RMLReader in)
           
protected  void processObject(java.lang.Object obj)
          apply default handling to the given object as part of shader construction.
 void shade(Hit hit, Pixel p)
          the shade routine.
 
Methods inherited from class org.autochthonous.graphics.rt.shaders.ct.Plastic
isReflecting, isSpecular, isTransparent, processParameters, 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
 

Field Detail

waveList

protected WaveSourceList waveList

base

protected Color3f base
Constructor Detail

WaveShader

public WaveShader(World world)
Method Detail

getInstance

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

processObject

protected void processObject(java.lang.Object obj)
Description copied from class: Shader
apply default handling to the given object as part of shader construction.

Overrides:
processObject in class Shader

shade

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

Overrides:
shade in class Plastic

XJRT Rendering Toolkit 1.0b06