Dlight: Difference between revisions
Jump to navigation
Jump to search
Important:In
GoldSrc, Due to how lightmap smoothing works, dlights will always act flat shaded even on smooth-shaded brush surfaces.
Code Fix:If using a custom renderer, the VERTEXNORMALS or FACENORMALS BSPX lumps can be used to preserve smoothness data for dynamic lights.
Confirm:This is probably fixed in
Source, which has a vertex normals lump.
Bug:In
GoldSrc, dlights do not work properly on surfaces that aren't set to 1.0 texel scale (a bug inherited from
Quake). This is best demonstrated by the glow from active Quad Damage in
Deathmatch Classic. [todo tested in ?]
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) (Note about applicable BSPX lumps) |
||
Line 2: | Line 2: | ||
A dynamic light on an [[lightmap]]. | A dynamic light on an [[lightmap]]. | ||
{{ModernImportant|In {{goldsrc|2}}, Due to how lightmap smoothing works, dlights will always act flat shaded even on smooth-shaded brush surfaces. | {{ModernImportant|In {{goldsrc|2}}, Due to how lightmap smoothing works, dlights will always act flat shaded even on smooth-shaded brush surfaces. | ||
{{code fix|If using a [[custom renderer]], the VERTEXNORMALS or FACENORMALS [[BSPX]] lumps can be used to preserve smoothness data for dynamic lights.}} | |||
{{modernConfirm|This is probably fixed in {{src|2}}, which has a vertex normals lump.}} }} | {{modernConfirm|This is probably fixed in {{src|2}}, which has a vertex normals lump.}} }} | ||
{{bug|In {{goldsrc|2}}, dlights do not work properly on surfaces that aren't set to 1.0 texel scale (a bug inherited from {{quake|2}}). This is best demonstrated by the glow from active Quad Damage in {{dmc|2}}.}} | {{bug|In {{goldsrc|2}}, dlights do not work properly on surfaces that aren't set to 1.0 texel scale (a bug inherited from {{quake|2}}). This is best demonstrated by the glow from active Quad Damage in {{dmc|2}}.}} |
Revision as of 11:50, 20 August 2024
A dynamic light on an lightmap.








