Skip to main content
GameDev.net gamedev.net
🔒 Locked

Ripple

Started by Groove Nov 28, 2005 at 11:30 AM 0 replies 750+ views
Original Post
Groove
Groove
I would like to render some good ripple able to combine themself like the onces on Morrowind that we can see on the fellowing screenshot. http://img443.imageshack.us/img443/1439/sshot240ec.jpg Is anybody know how they work or do you know a sample or a paper that explains ripples? Chears!
[size="2"]G-Truc Creation - www.g-truc.net
dawidjoubert
dawidjoubert
Okay 2 things come to mind..

PIXEL SHADERS
and
CG which is PIXEL SHADERS

---------

However i dont see any reflection only ligh displacement which leads me to think of perhaps polygon tesselation.

Take a look at http://www.geocities.com/djspy187/water.zip at you will see when you hit spacebar that it simulates the wave function..

All that you need to add is the colouring, and this can be done with the correct texture and bump mapping, which obviously suggests that you need to setup lighting.

----------
None the less the best results will be returned with pixel shaders as that program tesselates the water with polygons, basically a pixel shader just tesselates it with pixels... ON THE GPU's resources not the CPU
----------------------------http://djoubert.co.uk

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.