Skip to main content
GameDev.net gamedev.net
🔒 Locked

DirectX9 projection problem

Started by eduard_ionut Aug 15, 2022 at 9:43 AM 0 replies 4.9k views
Original Post
eduard_ionut
eduard_ionut

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.)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.