DirectX9 projection problem

Started by
0 comments, last by eduard_ionut 1 year, 8 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