This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
A PBS Color Splat (Metallic & Specular) shader:
- Supports 4 textures of each and a color map, where each channel represents contribution from each
- Supports height map blending too for sharper, more defined look
- Is useful for terrains
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
|
IAssetProvider<Shader> | |
ColorMap
|
IAssetProvider<ITexture2D> | |
ColorMapScale
|
Float2 | |
ColorMapOffset
|
Float2 | |
PackedHeightMap
|
IAssetProvider<ITexture2D> | |
HeightTransitionRange
|
Float | |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor0
|
Color | |
AlbedoColor1
|
Color | |
AlbedoColor2
|
Color | |
AlbedoColor3
|
Color | |
AlbedoTexture0
|
IAssetProvider<ITexture2D> | |
AlbedoTexture1
|
IAssetProvider<ITexture2D> | |
AlbedoTexture2
|
IAssetProvider<ITexture2D> | |
AlbedoTexture3
|
IAssetProvider<ITexture2D> | |
EmissiveColor0
|
Color | |
EmissiveColor1
|
Color | |
EmissiveColor2
|
Color | |
EmissiveColor3
|
Color | |
EmissiveMap0
|
IAssetProvider<ITexture2D> | |
EmissiveMap1
|
IAssetProvider<ITexture2D> | |
EmissiveMap2
|
IAssetProvider<ITexture2D> | |
EmissiveMap3
|
IAssetProvider<ITexture2D> | |
PackedEmissionMap
|
IAssetProvider<ITexture2D> | |
PackedNormalMap01
|
IAssetProvider<ITexture2D> | |
PackedNormalMap23
|
IAssetProvider<ITexture2D> | |
NormalScale0
|
Float | |
NormalScale1
|
Float | |
NormalScale2
|
Float | |
NormalScale3
|
Float | |
AlphaClip
|
Float | |
OffsetFactor
|
Float | |
OffsetUnits
|
Float | |
RenderQueue
|
Int | |
Metallic0
|
Float | |
Metallic1
|
Float | |
Metallic2
|
Float | |
Metallic3
|
Float | |
Smoothness0
|
Float | |
Smoothness1
|
Float | |
Smoothness2
|
Float | |
Smoothness3
|
Float | |
MetallicMap01
|
IAssetProvider<ITexture2D> | |
MetallicMap23
|
IAssetProvider<ITexture2D> |
Usage
For comprehensive guides see Color Splat Materials.
PackedEmissionMap is greyscale and uses EmissiveColor0-3 Colors.
EmissiveMap0-3 can be used for RGB Emissive Maps.
Referencing a PackedEmissionMap Overrides EmissiveMap0-3 Inputs.
Packed Textures Channel Mappings:
- PackedHeightMap:
- R: HeightMap0 - greyscale
- G: HeightMap1 - greyscale
- B: HeightMap2 - greyscale
- A: HeightMap4 - greyscale
- PackedEmissionMap:
- R: EmissionMap0 - greyscale
- G: EmissionMap1 - greyscale
- B: EmissionMap2 - greyscale
- A: EmissionMap4 - greyscale
- PackedNormalMap01:
- R: NormalMap0 - Red
- G: NormalMap0 - Green
- B: NormalMap1 - Red
- A: NormalMap1 - Green
- PackedNormalMap23:
- R: NormalMap2 - Red
- G: NormalMap2 - Green
- B: NormalMap3 - Red
- A: NormalMap3 - Green
- MetallicMap01:
- R: MetallicMap0 - Red
- G: MetallicMap0 - Alpha
- B: MetallicMap1 - Red
- A: MetallicMap1 - Alpha
- MetallicMap23:
- R: MetallicMap2 - Red
- G: MetallicMap2 - Alpha
- B: MetallicMap3 - Red
- A: MetallicMap3 - Alpha