[osg-users] osgOcean also rendering with osgParticle?
kcbale at googlemail.com
Fri Nov 13 13:02:07 PST 2009
I suspect this is a problem with the default shader that is applied to
all objects that are children of OceanScene. Part of this shader
overwrites the alpha component of the frame buffer which will cause
problems with transparent objects, in your case the particles. This is
required for the glare and depth of field effects that use the alpha
component to store the luminance and depth information rather than
making an additional (and costly) pass to a separate frame buffer
Could you try disabling the glare and depth of field effect and see if
the problem remains?
2009/11/13 Erik Johnson <r.erik.johnson at gmail.com>:
> Hi all,
> I've been playing around with osgOcean recently (nice work, btw!) and
> realized my fantastic particle effects were not being rendered in the scene.
> I tried to add them in various places in the scene graph with limited
> For example I added osgParticle::FireEffect as a child of the "boat" in the
> oceanExample. This kind of works, but you can only see some of particle
> effect from under the water.
> Any suggestions? It's no good having a motor boat splashing through the
> water without the splashes!
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users