I have added water to my game but when it washes up on terrain it looks awful, sort of spiky:
Any idea on what I can do to fix this?
Water Spikes
-
- Posts: 360
- Joined: Tue Feb 10, 2004 2:20 am
- Location: Lubbock, TX
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
thesmileman is probably thinking that you used this: http://irrlicht.sourceforge.net/docu/cl ... er.html#a6
-
- Posts: 360
- Joined: Tue Feb 10, 2004 2:20 am
- Location: Lubbock, TX
Yes I was think that you were using the addWaterSurfaceSceneNode() function ass DarkWhoppy suggested I would think using a mesh would be more benificial if you are planning on doing any sort of detection of whether someone is in the water or not or collision detection but to each his own.
Is your image at all transparent?
You might try a higher resolution image and not making the image larger than it's original size
Is your image at all transparent?
You might try a higher resolution image and not making the image larger than it's original size
Last edited by thesmileman on Wed Jul 14, 2004 7:54 am, edited 1 time in total.
-
- Posts: 52
- Joined: Tue Mar 30, 2004 12:16 pm
-
- Posts: 164
- Joined: Wed May 05, 2004 5:34 pm
- Location: Germany Berlin
- Contact:
i had had the same problem some time ago
i make it short ! try to run your application in windowed mode then there will be no spikes!
see here!
http://irrlicht.sourceforge.net/phpBB2/ ... 3339#13339
i think it has to do with the z buffer! somehow the fulsceen use a different amount / precisely z buffer .. so the rendering goese false. don't know how to increase the z buffer accuracy.
maybe you guys
i make it short ! try to run your application in windowed mode then there will be no spikes!
see here!
http://irrlicht.sourceforge.net/phpBB2/ ... 3339#13339
i think it has to do with the z buffer! somehow the fulsceen use a different amount / precisely z buffer .. so the rendering goese false. don't know how to increase the z buffer accuracy.
maybe you guys
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
sys: 2500+Barton 512MB 6600GT WinXP
-
- Posts: 360
- Joined: Tue Feb 10, 2004 2:20 am
- Location: Lubbock, TX