View Single Post
Old 09 January 2017, 18:51   #6
Registered User
rsn8887's Avatar
Join Date: Oct 2006
Location: USA
Posts: 770
Thanks! Since I have access to all the matrices within the shader, I think I can debug by concatenating my own worldview projection.

A quick look at direct3d revealed this suspicious line of code that is used for the "middle" shaders:

MatrixOrthoOffCenterLH (&m_matProj_out, 0, w + 0.05f, 0, h + 0.05f, 0.0f, 1.0f);

That absolute offset of 0.05f is probably there for a reason, but since it is absolute it might be the culprit?! I will test some more and get back to you.
rsn8887 is offline  
Page generated in 0.04834 seconds with 9 queries