Hello,
I am learning how to create lights with directx 9 using C++ but I am having an issue with Point light.
For some reason the light does not turn on, or at least it doesn't appear on my material.
I used and modified Microsoft's code for the directional lighting - Tutorial 4 in the SDK, so I converted it to a Point light but it stopped showing up.
My updated code with the texture I used is in the attachments.
I would appreciate it if you could help.
Thanks.
DirectX 9 - Point Light
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement