Jump to content
  • Advertisement
Sign in to follow this  
Xpoint

2D reflections

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

Hey, I'm trying to implant 2D reflections into my 3D engine, but I've no idea how to do that! First of all I don't know how to calculate the reflection matrix and stuff. If someone has a example for me, I would realy like that! Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
plz someone?
I've got refractions working already, but the plane on the back must also reflect ;)
http://www.xero-point.nl/downloads/rw_engine_v0.1.avi

Share this post


Link to post
Share on other sites
If you have refraction working, then why would reflection be any harder?
What's important is to descrive what method you intend to use. Planar reflection (stencil or some render to texture method)? Reflection using cubemaps? Reflection using sphere maps?

Share this post


Link to post
Share on other sites
Planar reflection using render to texture :)
Only thing i don't know is how to render it... how to calculate the camera position and things.. If someone has a example, with shader would be nice, i'd realy, realy like that! :D

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!