16ย years, 5ย months ago
Highlights
Community contributions featured16ย years, 5ย months ago
The specular reflection isn't the problem. My diffuse lighting isn't working correctly, but I imagine once I fix the diffuse problem, the specular issue should be fixed tooโฆ
16ย years, 5ย months ago
I'm working with GLSL and for some reason my diffuse calculation keeps coming out to 0s... frag shader, everything is in eye space uniform vec3 lightPosition; // a directional lโฆ
16ย years, 5ย months ago
How do I convert a light's position into world coordinates so that when I move the camera around the light's direction doesn't move with it? so far I have varying vec3 lightPosiโฆ
16ย years, 5ย months ago
I'm not sure what's going on but I have one FBO rendering a scene to a texture, then taking that texture, texturing a quad and rendering that to another texture, thenโฆ
16ย years, 5ย months ago
Latest Activity
See all in DiscussionsThe specular reflection isn't the problem. My diffuse lighting isn't working correctly, but I imagine once I fix the diffuse โฆ
16ย years, 5ย months ago
lightPosition is a direction
16ย years, 5ย months ago
I'm pretty sure it's in eye space because before I pass lightPosition to the shader, I get the camera's ModelView โฆ
16ย years, 5ย months ago