This flag determines the behavior of light that the entity
emits. If this flag is set, the light is a 30 degrees spot light in
direction given by the entities' pan and tilt angles. If this flag is
not set, the light is a point light that emits equally in all
- Spotlights affect the frame rate, and thus should be
used with care.
Spotlights are only visible on tesselated (sub-divided) surfaces. The higher the tesselation, the better the resolution of the spotlight cone.
my.lightrange = 1000;
my.SPOTLIGHT = ON;
my.pan += 2*time_step;
d3d_spotlightfalloff, d3d_spotlightcone, material, lightrange