org.xith3d.effects.bloom
Class GLSLBloomFactory

java.lang.Object
  extended by org.xith3d.effects.bloom.BloomFactory
      extended by org.xith3d.effects.bloom.GLSLBloomFactory

public class GLSLBloomFactory
extends BloomFactory

The GLSLBloomFactory is an implementation of Bloom effect using GLSL shaders.

I requires more render passes but all pixels computations (brightness, gaussian, and blending) are done by the GPU.


Constructor Summary
GLSLBloomFactory()
           
 
Method Summary
 void prepareForBloom(Xith3DEnvironment env, org.openmali.types.twodee.Sized2iRO resolution, GroupNode group)
           
protected  void updateBloomSettings()
           
 
Methods inherited from class org.xith3d.effects.bloom.BloomFactory
getBloomWeight, getSceneWeight, setBloomWeight, setSceneWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLBloomFactory

public GLSLBloomFactory()
Method Detail

prepareForBloom

public void prepareForBloom(Xith3DEnvironment env,
                            org.openmali.types.twodee.Sized2iRO resolution,
                            GroupNode group)
                     throws java.io.IOException
Specified by:
prepareForBloom in class BloomFactory
Throws:
java.io.IOException

updateBloomSettings

protected void updateBloomSettings()
Specified by:
updateBloomSettings in class BloomFactory