Jump to content
  • Advertisement
Sign in to follow this  
Ut

DX11 Help with Render To Texture reflections

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

Hello,

 

Hopefully this is okay to post here.  I've been going through the RasterTek tutorials on DX11.  I'm somewhat stuck on tutorial 27, reflections:

 

http://www.rastertek.com/dx11tut27.html

 

I got everything working, but his examples (at least so far) only move the camera in world coordinates if they move at all.  I've modified my code to move down local camera Z when you press W.  So I have a WASD strafing, and then Q/E rotate, and R/F rise and fall.

 

My reflection code works, until I rotate.  I can't figure out what I'm doing wrong.

 

https://dl.dropboxusercontent.com/u/87008029/GraphicsTutorialReflection.zip

 

I'm not completely confident I got the camera right.  It works for moving around, but I'm wondering if that is what is screwing up the reflection stuff.  I've been stuck on this for a while and am not sure what to do to make more headway. 

 

 

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!