• Advertisement
Sign in to follow this  

about water effect ,please help me .

This topic is 4468 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i saw some games made a water effect, that, they render few white wave near by the lakeshore. ohhhhhhhhhh~~~ how to do this ?? please help me.

Share this post


Link to post
Share on other sites
Advertisement
Well... it would help if you told us what games you were refering to, or at least posted some screenshots/links.

Share this post


Link to post
Share on other sites
thanks modena_au.
so, this is the screenshots,
http://www.trinigy.de/screenshots/landscape2.jpg

please look at the lakeshore.

Share this post


Link to post
Share on other sites
Looks to me like the typical panning texture on top of some nicely bump mapped but completely flat water.

So, seeing as you asked about the white waves, heres what you do:
Model your lake as a big flat polygon with a strip of polys around the edge where it meets the shore. For this strip of polygons, you will not only render the water, but also a texture with white wave crests on it. Set up the alpha values of the vertices and use an appropriate blending mode to make the texture fade in as it gets closer to the shore. Then to make it move, you just change the texture co-ordinates.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement