LightmappedTwoTexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{stub}}
{{stub}}
* Lightmapped: A lightmap is baked onto the surface during compile.
* Lightmapped: A lightmap is baked onto the surface during compile.
* TwoTexture: Two base textures are multiplied together and can be [[Material proxies|transformed]] independently. (Just like the [http://en.wikipedia.org/wiki/Blend_modes#Multiply Multiply] blending mode in typical image editors.)
* TwoTexture: Two base textures ({{mono|$basetexture}} and {{mono|$detail}}) are multiplied together and can be [[Material proxies|transformed]] independently. (Just like the [http://en.wikipedia.org/wiki/Blend_modes#Multiply Multiply] blending mode in typical image editors.)
 
{{tip|Can be used to work around the lack of $detailblendmode 8 in LightmappedGeneric.}}
[[Category:Shaders]]
[[Category:Shaders]]
== See also ==
== See also ==
* {{ent|UnlitTwoTexture}}
* {{ent|UnlitTwoTexture}}
* {{ent|WorldTwoTextureBlend}}
* {{ent|WorldTwoTextureBlend}}

Latest revision as of 19:22, 26 May 2024

Stub

This article or section is a stub. You can help by expanding it.

  • Lightmapped: A lightmap is baked onto the surface during compile.
  • TwoTexture: Two base textures ($basetexture and $detail) are multiplied together and can be transformed independently. (Just like the Multiply blending mode in typical image editors.)
Tip.pngTip:Can be used to work around the lack of $detailblendmode 8 in LightmappedGeneric.

See also