If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
etcaptor
Posts: 871 Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:
Post
by etcaptor » Sun May 09, 2004 11:46 am
Hi all,
Can someone tell me why water texture is streched?
Here is my sample picture
Here is another user's picture. I found it in bugs topic, but his picture looks better than mine
In my demo texture is streched /I thnik/
With many value parameters for addHillPlaneMesh and addWaterSurfaceSceneNode I cannot get good result.
Please help...
Any Idea?
Thanks in advance.
niko
Site Admin
Posts: 1759 Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:
Post
by niko » Sun May 09, 2004 4:37 pm
The water looks a little bit ugly in the opengl version. Maybe you are using opengl?
etcaptor
Posts: 871 Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:
Post
by etcaptor » Sun May 09, 2004 5:52 pm
Hi Niko,
and thanks for reply.
I have no problem with OpenGL version. Only the first picture is mine.
The second and third pictures was posted from another forum member. He wrote about Opengl problem related with third picture.
But my problem is that cannot make water like water on second picture.
When I compile example, get stretched texture on the water object.
What can to resolve that?
etcaptor
Posts: 871 Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:
Post
by etcaptor » Mon May 10, 2004 5:01 pm
Hey boys,
I need our advice.
How to make realistic water? What functions or values I must to change?
Thanks.
etcaptor
Posts: 871 Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:
Post
by etcaptor » Tue May 11, 2004 2:02 am
I found the problem:
water texture is streched only if EMT_REFLECTION_2_LAYER or EMT_TRANSPARENT_REFLECTION_2_LAYER are used.