Jump to content
  • Advertisement
Sign in to follow this  
thedodgeruk

frank luna water rotation

This topic is 2479 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 was look at frank lunas water , and how it works ,
i see that it changes direction , in the scene but i cant find the line of code that does this

i want to remove it so the eater allways goes one way or a way i want it to go.

does any one know please .

i figure this is a good stepping stone to do my own water shader / render method

Share this post


Link to post
Share on other sites
Advertisement
Hi there.
Is this the 9.0c book with water created useing displacement mapping, if so then the waves are two displacement maps scrolled over time,
giving the illusion of new waves forming.

so i think the values are in the shader and they are in fact the texture coordinate offsets fiddle with them

here looks like this in the shader
uniform extern float2 gWaveNMapoffset0....n

The DX10 book same name(with out the 9.0c)has a water sample as well .

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!