yea yea yea i love OGL and i have a question
after putting off OGL for about 1 month i finally went bak at it and im up and running at mach 5
i just created a scene that has 2 textured cubes floating around with 2 light sources. 1 light is red and on the left and the other is on the right and is green
i was wondering how many different lights can u put into one scene? i would do it myself but i dont want to risk screwing up my comp when i can ask one u of brilliant humans ^^
thx
"Those who serve no purpose, have no purpose"
quote:Original post by SonShadowCat
i just created a scene that has 2 textured cubes floating around with 2 light sources. 1 light is red and on the left and the other is on the right and is green
As many as your hardware or software renderer supports. Do you want it to be fast? Well, then exclude the software rendered. Use glGet (with GL_MAX_LIGHTS) to look up how many lights are supported.
[Resist Windows XP''s Invasive Production Activation Technology!]
how does glGet (with GL_MAX_LIGHTS) work?
does it simply state how many lights there are on the screen?
"Those who serve no purpose, have no purpose"
does it simply state how many lights there are on the screen?
"Those who serve no purpose, have no purpose"
OpenGL compliance guarantees at least 8 lights.
Usually you don''t get more. You can check it as Null and Void said.
Usually you don''t get more. You can check it as Null and Void said.
hmm 8 huh, hmm i can have fun with 8
i can just imagine 8 lights, 2 textured cubes, and blending
oh yea, i get an orgasm just thinkin about it ^^
"Those who serve no purpose, have no purpose"
i can just imagine 8 lights, 2 textured cubes, and blending
oh yea, i get an orgasm just thinkin about it ^^
"Those who serve no purpose, have no purpose"
quote:Original post by SonShadowCat
i can just imagine 8 lights, 2 textured cubes, and blending
Good bye fillrate!
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement