de.grogra.imp3d.glsl.material.channel
Class GLSLTurbulence

java.lang.Object
  extended by de.grogra.imp3d.glsl.material.channel.GLSLChannelMap
      extended by de.grogra.imp3d.glsl.material.channel.GLSLChannelMapNode
          extended by de.grogra.imp3d.glsl.material.channel.GLSLTurbulence

public class GLSLTurbulence
extends GLSLChannelMapNode

Implementation of Shader: VolumeTurbulence. Uses class Noise to get the needed noise function.

Author:
Konni Hartmann

Constructor Summary
GLSLTurbulence()
           
 
Method Summary
 Result generate(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel)
          This should be used instead of the other one
 java.lang.Class instanceFor()
           
 
Methods inherited from class de.grogra.imp3d.glsl.material.channel.GLSLChannelMap
generateResult, generateResult, generateResultWithChannelDefault, getGLSLObject, getMaxResultType, initMap, mayDiscard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLTurbulence

public GLSLTurbulence()
Method Detail

generate

public Result generate(ChannelMap inp,
                       MaterialConfiguration cs,
                       GLSLChannelMap inpChan,
                       int channel)
Description copied from class: GLSLChannelMap
This should be used instead of the other one

Specified by:
generate in class GLSLChannelMap
Returns:

instanceFor

public java.lang.Class instanceFor()
Specified by:
instanceFor in class GLSLChannelMap