Skip to main content
3 events
when toggle format what by license comment
Mar 1, 2014 at 9:06 vote accept Seta
Mar 1, 2014 at 9:04 comment added Seta Thanks. I originally had it like that, but it still wasn't working. I originally had normal and specular mapping as well, but it was still working as I originally described, even with the DiffuseLightDirection set to a constant. I suspect it might have been something in my normal mapping code, and I introduced the object position to try and fix it, and forgot to backout this change when I started stripping the shader down to find the source of the problem. Dumbass mistake. Good with C#, not so much with HLSL. Thanks anyway.
Mar 1, 2014 at 8:37 history answered Nathan Reed CC BY-SA 3.0