Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometry independent reflection #30

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments
Open

Geometry independent reflection #30

GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

A suggestion:

The projected reflection is completely independent of the actual water
geometry (waves) - the effects are most noticable when looking in wind
direction (see screenshot - although lighting clearly suggests the wave is
there the reflection looks just like on a plane).

Personally I think...

-tempPos.xy = v.xy + disp * N.xy;
+tempPos.xy = v.xy + disp * - v.z * N.xy;

...in distortGen() looks a lot more realistic (it no longer looks like the
reflection is cutting through the wave-tops).

But as this is probably highly subjective I'll leave it up to the
maintainer. :-)




Original issue reported on code.google.com by felix.nawothnig on 12 May 2010 at 10:01

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant