Closed GoogleCodeExporter closed 9 years ago
Thanks Felix. Checked into the trunk.
Regards,
Kim.
Original comment by kcb...@googlemail.com
on 7 May 2010 at 7:59
I see that you reverted the patch again - may I ask why? The problem I'm seeing
is
that in the shader you do
if(osgOcean_EnableReflections)
{
env_color = texture2DProj( osgOcean_ReflectionMap, distortGen(vVertex, N) );
}
else
{
env_color = gl_LightSource[osgOcean_LightID].diffuse;
}
although you (correctly) skipped reflection culling in
OceanScene::preRenderCull() -
which causes random noise from the reflection texture unit to appear on the
surface
(I suppose this depends on the OpenGL implementation...).
Original comment by felix.nawothnig
on 10 May 2010 at 11:10
Original issue reported on code.google.com by
felix.nawothnig
on 7 May 2010 at 7:33