Original Post
I'm reading this article now: http://citeseer.ist.psu.edu/cache/papers/cs/26265/http:zSzzSzwww.cs.sunysb.eduzSz~ashzSzwaterCGF.pdf/premoze01rendering.pdf Technique looks quite good, especially ability to build different type of water with respect to it's color (open ocean, tropical coast, harbor). At the same time real time equation is pretty simple and fast as most of the coefficients can be precomputed on CPU. But there are one point that i'm concerned, provided coefficients should be used with wavelenght rather than RGB model. I had a similar experience with dynamic sky based on Perez model, all calculations was done using wavlenght and than converted from XYZ to RGB. For water there is no need to do all calculation in realtime as the most of parameters can be precalculated. The question is - is it possible to precalculated coefficients dependent on wavelength is such a way that they can be directly used in RGB space?




