Is there any other way to do it besides making my own matrices? What do you think about using built-in gl_LightSource[n].position or loading ModelView matrix after gluLookAt?
Type: Posts; User: honaccyk
Is there any other way to do it besides making my own matrices? What do you think about using built-in gl_LightSource[n].position or loading ModelView matrix after gluLookAt?
I have got a problem with diffuse light shader. Moving or rotating camera changes color on objects(light position is the same as camera position or something like that). I want to make stationary...