Sign in to follow this  
Programmer101

Cubemap or projected texture for water surface

Recommended Posts

Programmer101    199
Which one is easier and/or better to do for a water reflection; a cubemap or projected texture coordinates? I've been trying with projected a texture but it seems too difficult to get it right. Cubemap seems like it would be easier but i can't figure it out.

Share this post


Link to post
Share on other sites
Drilian    1067
Generally, it's better to use a planar reflection texture for mostly-planar surfaces (such as the water surfaces). Cubemapped reflections really only look good on smaller, more...uh...shaped objects. Like cars. Or teapots.

Share this post


Link to post
Share on other sites
xycsoscyx    1150
You also need to keep in mind that cubemap reflections require rendering the scene 6 times (not considering any optimization there). This can be quite expensive when you're potentially not even going to be seeing all those sides of the cubemap. Consider a mirror, you're only seeing one direction (reflecting back upon yourself), rendering a cubemap is a waste. Adding to what Drilian said, something like a TeaPot will have many facets and angles for it's faces, this means that all faces of your cubemap will potentially be used (and thus required), but if you can get away with less, you really should.

Share this post


Link to post
Share on other sites

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