Jump to content
  • Advertisement
Sign in to follow this  
Kevin_Lethe

about water effect ,please help me .

This topic is 5098 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
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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!