$lightmap: Difference between revisions
Jump to navigation
Jump to search
Note:Archived rest of page history of page template:warning model lightmaps
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) m (Also in gmod as of recently) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
'''$lightmap''' is a [[material]] [[shader]] parameter available in {{src13mp|4.1}} for <code>[[VertexLitGeneric]]</code>. It defines a lightmap to be used instead of the per-vertex lighting used by [[prop_static]]. This parameter does not usually need to be added manually, as [[VRAD]] will generate model lightmaps automatically if {{mono|generatelightmaps}} is enabled for the prop_static and {{mono|-StaticPropLighting}} is enabled in [[VRAD]]. | '''$lightmap''' is a [[material]] [[shader]] parameter available in {{src13mp|4.1}} and {{gmod|4.1}} for <code>[[VertexLitGeneric]]</code>. It defines a lightmap to be used instead of the per-vertex lighting used by [[prop_static]]. This parameter does not usually need to be added manually, as [[VRAD]] will generate model lightmaps automatically if {{mono|generatelightmaps}} is enabled for the prop_static and {{mono|-StaticPropLighting}} is enabled in [[VRAD]]. | ||
{{warning model lightmaps}} | {{warning model lightmaps}} |
Revision as of 16:10, 30 July 2023
$lightmap is a material shader parameter available in Source 2013 Multiplayer and
Garry's Mod for
VertexLitGeneric
. It defines a lightmap to be used instead of the per-vertex lighting used by prop_static. This parameter does not usually need to be added manually, as VRAD will generate model lightmaps automatically if generatelightmaps is enabled for the prop_static and -StaticPropLighting is enabled in VRAD.

