Sign in to follow this  

water wave normalmap

This topic is 3661 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

Hi, I'm reading "shader X3" and I'm specially interested in water chapter. In this demo, it used bump map technique, but no normal map texture in any folder. And I think water wave is dynamic not static. So normal map should be generated and updated in every frame in real time. Am I right? I wonder how to create normal map for dynamic water wave. Actually I made some height field and wave it using noise. And I tried to use static normal map texture and scroll it. But It's not what I want. And I realized I need to generate normal map in real-time. But I don't know how? Please teach me...^^

Share this post


Link to post
Share on other sites
Hi.


Normal maps work fine for me.
Add them together to make a moving fractal normal map.
All done in shader. No need for per-frame CPU work.

ie,

Make a simple tileable normal map from some kind of noise.
( ie, 1 octave noise. no fractal )
Inverted cellular noise works well.
In photoshop or something. ( filterforge is a good filter for this )

Then in your shader add the noise together at 3 different scales.
Each "layer" moving in a different direction to the others.

Ren.

Share this post


Link to post
Share on other sites
Thanks for your reply.
And do you mean that mormal map is created in non real-time?
I did that.
Somehow In newest water rendering technique,
not just moving mormal maps in different speed.
It looks like generate normal map in real time.
If someone do this way, please advise me.

I don't know my guess is right or not. I'm so confusing...^^;

Share this post


Link to post
Share on other sites

This topic is 3661 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this