Talk:Light spot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(De-pluralised. Me illiterate.)
No edit summary
Line 1: Line 1:
Is there any rendering cost in having lots of static spotlights in one room? I'm wondering about the (nifty) directional lighting they do on models etc.... --[[User:Cargo Cult|Cargo Cult]] 06:24, 26 Sep 2005 (PDT)
Is there any rendering cost in having lots of static spotlights in one room? I'm wondering about the (nifty) directional lighting they do on models etc.... --[[User:Cargo Cult|Cargo Cult]] 06:24, 26 Sep 2005 (PDT)
:For static geometry, they cost the same as a regular light. (If named, they cost the same as a regular named light.) I don't know about dynamically-lit objects (eg, dynamic props, physics props, and NPCs), but going by my recollection of the math involved, I suspect that the cost would be of the same time complexity as for a regular light. &mdash;'''[[User:Maven|Maven]]''' <sup>([[User talk:Maven|talk]])</sup> 09:24, 26 Sep 2005 (PDT)

Revision as of 09:24, 26 September 2005

Is there any rendering cost in having lots of static spotlights in one room? I'm wondering about the (nifty) directional lighting they do on models etc.... --Cargo Cult 06:24, 26 Sep 2005 (PDT)

For static geometry, they cost the same as a regular light. (If named, they cost the same as a regular named light.) I don't know about dynamically-lit objects (eg, dynamic props, physics props, and NPCs), but going by my recollection of the math involved, I suspect that the cost would be of the same time complexity as for a regular light. —Maven (talk) 09:24, 26 Sep 2005 (PDT)