Page 1 of 1

I am create new water surface, but I have texturing broblem

Posted: Tue Oct 03, 2006 3:27 pm
by Magnet
I am create a nwe water surface.
In this surface I am realize hits on water.
But I can't texture this surface normaly.
I am rotate my camera and take this:
Image

Please review my code and halp me.
http://www.webpolit.com/irr/MyFish.rar

Posted: Tue Oct 03, 2006 8:20 pm
by Magnet
Why rays reconverge in one point?
Whence these rays?
As their possible avoid?

If I set for HillPlaneMesh:

Code: Select all

node->setMaterialTexture(0,driver->getTexture("../../media/stones.jpg"));
node->setMaterialTexture(1,driver->getTexture("../../media/water.jpg"));
node->setMaterialType(video::EMT_REFLECTION_2_LAYER);
I have same effect.
Image