Advertisement

DirectX9 projection problem

Started by August 15, 2022 09:43 AM
0 comments, last by eduard_ionut 2 years, 5 months ago

 

 

Hello, I have a problem in DX9: I am projecting objects with the LightProj matrix. 
 

View and projection


The problem is that my objects will be projected from (-infinity to +infinity). 
At the end, I'm setting the object projection texture SetTexture(projection) with
 SetTransform(m_matViewInverse * m_matLightView * projectionScale) 

I want to project those objects only from the object position to +infinity, I am missing something ?
 

Problem vs Expected results



Thank you ! *(I can also pay for a solution, you can contact me.) 

This topic is closed to new replies.

Advertisement