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

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.GLSLVolumeFunction
              extended by de.grogra.imp3d.glsl.material.channel.GLSLVolumeTurbulence

public class GLSLVolumeTurbulence
extends GLSLVolumeFunction

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

Author:
Konni Hartmann

Constructor Summary
GLSLVolumeTurbulence()
           
 
Method Summary
 Result generateVolumeData(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel)
           
 java.lang.Class instanceFor()
           
 
Methods inherited from class de.grogra.imp3d.glsl.material.channel.GLSLVolumeFunction
floatToString, generate
 
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

GLSLVolumeTurbulence

public GLSLVolumeTurbulence()
Method Detail

generateVolumeData

public Result generateVolumeData(ChannelMap inp,
                                 MaterialConfiguration cs,
                                 GLSLChannelMap inpChan,
                                 int channel)
Specified by:
generateVolumeData in class GLSLVolumeFunction

instanceFor

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