Hi,
I saw the code in 'OceanScen.cpp', that 5 cameras in
'osgOcean::OceanScen::_glarePasses' were used to render the glare effect.
But I saw the realization code in "water.frag" is just as bellow:
if(osgOcean_EnableGlare)
{
float lum = luminance(lumColor);
gl_FragData[1] = vec4(lum);
}
And it looks like that the cameras in 'osgOcean::OceanScen::_glarePasses' were
not been used anywhere. Will tell me why?
Thank you!
Cheers,
Tian
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27346#27346
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org