Help with Render To Texture reflections

Started by
-1 comments, last by Ut 10 years ago

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.

This topic is closed to new replies.

Advertisement