Jump to content
  • Advertisement
Sign in to follow this  
DeathFry

Chase Camera and Water Reflection [XNA]

This topic is 3772 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 there! I didn't see a XNA specific forum, so I guess this is the most correct place to post this. If not, feel free to move the thread. Well, I've implemented a Chase Camera using the sample from the XNA site. I've also got water reflections working using Riemer's method. The problem I'm seeing is that the roll on the camera - rotation on the forward axis - gives some odd graphical results with the reflection. I've been trying to fix this for about a two weeks without success. It works fine with a mouse look or first person camera without rolling. Here's my post on the XNA Creator's Club: http://forums.xna.com/thread/51993.aspx Seems it gathered no attention, hahahaha. What I'm thinking is that maybe I can work the reflection as if it where a firs person camera; that is, project the virtual camera without the roll to create the reflection map. I also tried using Matrix.CreateReflection to invert the world matrix when rendering the reflection map, and though the roll issue was solved, it also provided unwanted results, hahah. Thanks in advance!!!

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!