Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

Spotlights

Started by Keba Mar 8, 2004 at 5:11 AM 0 replies 350+ views
Original Post
Keba
Keba
i had implementet lightmaps with point lights and now want to test spotlights, but whats the different? i mean in math way of course. with pointlights i used Lambert equation.
Promit
Promit
The brightness due to a point light is only dependent on distance, whereas the brightness due to a spotlight is due to distance as well as the angle between the object, the light, and the direction of the light. Those parameters are further affected by the angles in the spotlight definition (penumbra or umbra or something, I forget).

Those are the only real mathematical differences.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

Topic Locked

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

Sign in to reply to this topic.