Doubt about texture waves in CG Ocean Shader

Posted by Alexandre on Game Development See other posts from Game Development or by Alexandre
Published on 2011-02-01T14:53:35Z Indexed on 2011/02/01 15:34 UTC
Read the original article Hit count: 734

Filed under:
|
|

I'm new on graphical programming, and I'm having some trouble understanding the Ocean Shader described on "Effective Water Simulation from Physical Models" from GPU Gems. The source code associated to this article is here.

My problem has been to understand the concept of texture waves. First of all, what is achieved by texture waves? I'm having a hard time trying to figure out it's usefulness.

In the section 1.2.4 of the article, it does say that the waves summed into the texture have the same parametrization as the waves used for vertex positioning. Does it mean that I can't use the texture provided by the source code if I change the parameters of the waves, or add more waves to sum?

And in the section 1.4.1, is said that we can assume that there is no rotation between texture space and world space if the texture coordinates for our normal map are implicit. What does mean that the "normal map are implicit'? And why do I need a rotation between texture and world spaces if the normal map are not implicit?

I would be very grateful for any help on this.

© Game Development or respective owner

Related posts about textures

Related posts about shaders