[help] Problem with shader from ocean demo.

IFASS

13-02-2006 23:59:17

I get the following strange error:

Open up the ocean tutorial and turn your cam around in the oFusion window.. after turning around a bit the plane dissapears.. same counts in my viewer.

I assume this is a shader problem?

Lioric

14-02-2006 16:19:43

No this is not a problem, is the way the shader is implemented, if you see the water plane object is a small plane, when you move the camera and this plane is not in the frustum, the shader is not executed (the object is not added for render by the scene manager)

Select the plane so you can see its bounding selection, and then move the camera so this plane is not in the view frustum and the water will not be rendered

The way that you implement it in your aplication is allways reporting the water plane as visible to the scene manager

IFASS

14-02-2006 22:21:00

No this is not a problem, is the way the shader is implemented, if you see the water plane object is a small plane, when you move the camera and this plane is not in the frustum, the shader is not executed (the object is not added for render by the scene manager)

Select the plane so you can see its bounding selection, and then move the camera so this plane is not in the view frustum and the water will not be rendered

The way that you implement it in your aplication is allways reporting the water plane as visible to the scene manager


i get it, thanks! :)