Skip to main content
GameDev.net gamedev.net
🔒 Locked

spot light

Started by Loicus Jul 30, 2006 at 5:16 AM 1 replies 800+ views
Original Post
Loicus
Loicus
Hi i'am learning light in openGl, and i have a question (maybe a stupid one ;) ) how can i have a circular spot... and not only some triangle more brightness! more precisly i don't want to see the triangle... but i don't want to have 10000 faces for a little room ;) do you have a tips?
roel
roel
1. You can use a pixelshader with per-pixel lighting.
2. You can use projective texturing
3. Something smarter?

I'd go for 1.
Loicus
Loicus
thanks... i will explore these possibility

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.