The '''PBS_ColorMaskSpecular''' Component is used to allow for a specular setup of a color-able material that allows for 4 distinct colors to be used separately or mixed in different areas on the surface.
<!--T:2-->
The '''PBS_ColorMaskSpecular''' material is a specular material that allows for four distinct colors to be used separately or mixed in on different areas of the surface based on an image map.
|ColorMaskScale|Float2| The uv scale of color masks.
|ColorMaskScale|Float2| The uv scale of color masks.
|ColorMaskOffset|Float2| The uv offset of color masks.
|ColorMaskOffset|Float2| The uv offset of color masks.
|ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true| [[ColorMaskMaps|ColorMaskMaps]] for albedo color
|ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true|The [[color mask]] for the material.
|AlbedoColor0|ColorX| The color to use for spots where R is on <code>ColorMask</code>
|AlbedoColor0|ColorX| The color to use for spots where R is on <code>ColorMask</code>
|AlbedoColor1|ColorX| The color to use for spots where G is on <code>ColorMask</code>
|AlbedoColor1|ColorX| The color to use for spots where G is on <code>ColorMask</code>
|AlbedoColor2|ColorX| The color to use for spots where B is on <code>ColorMask</code>
|AlbedoColor2|ColorX| The color to use for spots where B is on <code>ColorMask</code>
|AlbedoColor3|ColorX| The color to use for spots where A is on <code>ColorMask</code>
|AlbedoColor3|ColorX| The color to use for spots where A is on <code>ColorMask</code>
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true| [[ColorMaskMaps|ColorMaskMaps]] for emission or glow color
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true|The texture to use on the surface.
|EmissiveColor0|ColorX| The color to use for spots where R is on <code>AlbedoTexture</code>
|EmissiveColor0|ColorX| The color to use for spots where R is on <code>AlbedoTexture</code>
|EmissiveColor1|ColorX| The color to use for spots where G is on <code>AlbedoTexture</code>
|EmissiveColor1|ColorX| The color to use for spots where G is on <code>AlbedoTexture</code>
Line 43:
Line 41:
}}
}}
<!--T:3-->
== Usage ==
== Usage ==
Used in creations where simple color masks can do for colorable characters. For Example, Avalis, and Eyes.
<!--T:4-->
The <code>ColorMask</code> texture is a [[color mask]] that gets mapped to the four albedo/emissive channels to change individual tints for certain parts of the material. Other fields work as described on the [[Component:PBS_Specular|PBS_Specular]] material.
== Examples ==
== Examples ==
{{stub}}
<!--T:5-->
== See Also ==
== See Also ==
* [[ColorMaskMaps|ColorMaskMaps]]
* [[Color masks]]
* [[Component:PBS_ColorMaskMetallic]]
* [[Component:PBS_ColorMaskMetallic]]
</translate>
[[Category:Components{{#translation:}}|PBS Color Mask Specular]]
[[Category:Components{{#translation:}}|PBS Color Mask Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Color Mask Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Color Mask Specular]]
[[Category:Materials:PBS{{#translation:}}|PBS Color Mask Specular]]
[[Category:Materials:PBS{{#translation:}}|PBS Color Mask Specular]]
[[Category:Materials{{#translation:}}|PBS Color Mask Specular]]
[[Category:Materials{{#translation:}}|PBS Color Mask Specular]]
Revision as of 05:54, 12 June 2025
Component image
PBS_ColorMaskSpecular component as seen in the Scene Inspector
The PBS_ColorMaskSpecular material is a specular material that allows for four distinct colors to be used separately or mixed in on different areas of the surface based on an image map.
If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
The ColorMask texture is a color mask that gets mapped to the four albedo/emissive channels to change individual tints for certain parts of the material. Other fields work as described on the PBS_Specular material.