View Single Post
Old 09 January 2017, 17:51   #6
rsn8887
Registered User
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 727
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.07986 seconds with 9 queries