13 years, 9 months ago
Highlights
13 years, 9 months ago
Gotcha, so I guess that should explain why the light does not appear to be on the z-axis like it should be, it is instead a bit to the left. When you say to send the world posit…
13 years, 9 months ago
I have a simple model loaded and a point light source that I am trying to get to work correctly, but it's just not happening. I have probably spent around 12 hours over the…
13 years, 9 months ago
I have a diffuse+specular equation in my pixel shader, and it works pretty well except for this one issue: When I change this: float attenuation = 1.0f / d*d; To this: float att…
14 years ago
My title says it all. I didn't change my original code at all. I only replaced the D3DXVECTOR3 class with my vec4 class. The colors of my primitives became incorect, and I a…
15 years, 1 month ago
Latest Activity
See all in DiscussionsGotcha, so I guess that should explain why the light does not appear to be on the z-axis like it …
13 years, 9 months ago
Thanks for the suggestions, especially the tip about using input.norm.xyz, I feel ignorant now. So, letting HLSL align the buffer …
13 years, 9 months ago
I actually just discovered that if I move my light source a ridiculous distance away (z value of -5000.0) then …
13 years, 9 months ago