1
editMore actions
Added a note regarding shaders using different spellings for the GlowColour/GlowColor property.
(Added a note regarding shaders using different spellings for the GlowColour/GlowColor property.) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 24: | Line 24: | ||
== Parameters and corresponding colours inside MSKColor/MSKcloth == | == Parameters and corresponding colours inside MSKColor/MSKcloth == | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Parameters & Colors | |+Parameters & Colors | ||
Line 79: | Line 79: | ||
|#80FF00 | |#80FF00 | ||
|} | |} | ||
[[File:MSKcloth.webp|600x600px]] | |||
== Armor/Clothing Texture Maps (Advanced) == | == Armor/Clothing Texture Maps (Advanced) == | ||
Line 161: | Line 163: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''And the GlowColor setting for both shader configs:'''<syntaxhighlight lang="xml"> | '''And the GlowColor setting for both shader configs:''' | ||
(Note: You may need to use the American spelling 'GlowColor' and not the British spelling 'GlowColour' depending on which shader you're using. You can extract the config file for the shader you're using (e.g. 'CHAR_BASE_GM.lsf') if you want to double-check which spelling it uses).<syntaxhighlight lang="xml"> | |||
<node id="Vector3Parameters"> | <node id="Vector3Parameters"> | ||
<attribute id="BaseValue" type="fvec3" value="0 0 0" /> | <attribute id="BaseValue" type="fvec3" value="0 0 0" /> | ||
Line 220: | Line 224: | ||
=== VertCut === | === VertCut === | ||
Shaders with this term in their name allow for using vertex colors to mask parts of clothing. For example, a pair of boots are too long and clip through pants - a VertCut shader will allow you (with an appropriately set up model) to hide the part of the pants the boot overlays and avoid clipping. You can read more about them in general [[Modding:VertexColorMaskSlots|here]]. A standard one is:<blockquote>Materials\Public\Shared\Assets\Materials\Characters\CHAR_BASE_VertCut.lsf</blockquote> | Shaders with this term in their name allow for using vertex colors to mask parts of clothing. For example, a pair of boots are too long and clip through pants - a VertCut shader will allow you (with an appropriately set up model) to hide the part of the pants the boot overlays and avoid clipping. You can read more about them in general [[Modding:VertexColorMaskSlots|here]]. A standard one is:<blockquote>Materials\Public\Shared\Assets\Materials\Characters\CHAR_BASE_VertCut.lsf</blockquote> | ||
This one supports alphas, MSKColours, and vertcut: | |||
<blockquote>Public/Shared/Assets/Materials/Characters/CHAR_BASE_AlphaTest_2S_Dither.lsf</blockquote> | |||