MultiBlend: Difference between revisions
Jump to navigation
Jump to search
Note:Although present in the Alien Swarm version of Source, this shader does not seem to fully work and renders fullbright in-game.
Note:This shader only works on displacements.
(Created page with "'''<code>MultiBlend</code>''' is a shader found in newer verrsions of Source (Alien Swarm and Dota 2). It allows for blending on displacement surfaces using up to...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''<code>MultiBlend</code>''' is a [[shader]] found in newer | '''<code>MultiBlend</code>''' is a [[shader]] found in newer versions of Source ([[Alien Swarm]] and [[Dota 2]]). It allows for blending on [[displacement]] surfaces using up to four different materials. | ||
As opposed to most other shaders, the MultiBlend shader reads [[VMT]] files instead of [[VTF]] files. | As opposed to most other shaders, the MultiBlend shader reads [[VMT]] files instead of [[VTF]] files. |
Revision as of 08:12, 18 June 2012
MultiBlend
is a shader found in newer versions of Source (Alien Swarm and Dota 2). It allows for blending on displacement surfaces using up to four different materials.
As opposed to most other shaders, the MultiBlend shader reads VMT files instead of VTF files.


Example
MultiBlend { $basetexture nature/grass_00c $spectexture nature/grass_00a_spec $scale 1.5 $rotation 0.0 $basetexture2 nature/sand_cracked001 $spectexture2 nature/sand_cracked001_spec $scale2 3.0 $rotation2 0.0 $basetexture3 nature/sand_path001 $spectexture3 nature/sand_path001_spec $scale3 3.0 $rotation3 0.0 $basetexture4 stone/stone_path007 $spectexture4 stone/stone_path007_spec $scale4 3.0 $rotation4 55.0 %tooltexture test/terraintest-1 }