🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DirectX9 projection problem

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