PBS Metallic
Revision as of 05:12, 26 February 2021 by DoubleStyx (talk | contribs)
This article or section is a Stub. You can help the Neos Wiki by expanding it.
PBS Metallic is a physically-based material that uses a special Metallic-Roughness (MR) map to store data about the metallicity and roughness of an object. The grayscale value of an MR map encodes metallicity while the alpha value encodes roughness.
Usage
Fields | ||
---|---|---|
Name | Type | Description |
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated |
Enabled
|
Bool | Controls whether or not this component is enabled |
HighPriorityIntegration
|
Bool | |
_shader
|
Shader | |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
DetailTextureScale
|
Float2 | |
DetailTextureOffset
|
Float2 | |
AlbedoColor
|
Color | |
AlbedoTexture
|
ITexture2D | |
EmissiveColor
|
Color | |
EmissiveMap
|
ITexture2D | |
NormalScale
|
Float | |
NormalMap
|
ITexture2D | |
HeightMap
|
ITexture2D | |
HeightScale
|
Float | |
OcclusionMap
|
ITexture2D | |
DetailAlbedoTexture
|
ITexture2D | |
DetailNormalMap
|
ITexture2D | |
DetailNormalScale
|
Float | |
BlendMode
|
BlendMode | |
AlphaCutoff
|
Float | |
OffsetFactor
|
Float | |
OffsetUnits
|
Float | |
RenderQueue
|
Int | |
Metallic
|
Float | |
Smoothness
|
Float | |
MetallicMap
|
ITexture2D |
Behavior
PBS Metallic Channel Packing
Unity declares Green : Occlusion and Height as interchangable and usable for both slots
https://forum.unity.com/threads/standard-shader-metallic-texture-packing.314283/
R: Metalness
G: Occlusion/Height
A: Smoothness