imported>Xekri No edit summary |
989onan bot (talk | contribs) Automated: update 'StencilComparison' description,'StencilOperation' description,'StencilID' description,'StencilWriteMask' description,'StencilReadMask' description,'RenderQueue' description,'BlendMode' description,'Sidedness' description,'ZWrite' description,'ZTest' description,'OffsetFactor' description,'OffsetUnits' description, |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader| | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| | ||
|ColorMap| | |MultiValue|Bool| | ||
|ColorMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| | |||
|ColorMapScale|Float2| | |ColorMapScale|Float2| | ||
|ColorMapOffset|Float2| | |ColorMapOffset|Float2| | ||
|PackedHeightMap| | |PackedHeightMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true| | ||
|HeightTransitionRange|Float| | |HeightTransitionRange|Float| | ||
|TextureScale|Float2| | |TextureScale|Float2| | ||
|TextureOffset|Float2| | |TextureOffset|Float2| | ||
|AlbedoColor0| | |AlbedoColor0|ColorX| | ||
|AlbedoColor1| | |AlbedoColor1|ColorX| | ||
|AlbedoColor2| | |AlbedoColor2|ColorX| | ||
|AlbedoColor3| | |AlbedoColor3|ColorX| | ||
|AlbedoTexture0| | |AlbedoTexture0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true| | ||
|AlbedoTexture1| | |AlbedoTexture1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv15=true| | ||
|AlbedoTexture2| | |AlbedoTexture2|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true| | ||
|AlbedoTexture3| | |AlbedoTexture3|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true| | ||
|EmissiveColor0| | |EmissiveColor0|ColorX| | ||
|EmissiveColor1| | |EmissiveColor1|ColorX| | ||
|EmissiveColor2| | |EmissiveColor2|ColorX| | ||
|EmissiveColor3| | |EmissiveColor3|ColorX| | ||
|EmissiveMap0| | |EmissiveMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv22=true| | ||
|EmissiveMap1| | |EmissiveMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv23=true| | ||
|EmissiveMap2| | |EmissiveMap2|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv24=true| | ||
|EmissiveMap3| | |EmissiveMap3|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv25=true| | ||
|PackedEmissionMap| | |PackedEmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv26=true| | ||
|PackedNormalMap01| | |PackedNormalMap01|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv27=true| | ||
|PackedNormalMap23| | |PackedNormalMap23|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv28=true| | ||
|NormalScale0|Float| | |NormalScale0|Float| | ||
|NormalScale1|Float| | |NormalScale1|Float| | ||
Line 50: | Line 51: | ||
|NormalScale3|Float| | |NormalScale3|Float| | ||
|AlphaClip|Float| | |AlphaClip|Float| | ||
|OffsetFactor|Float| | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float| | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|RenderQueue|Int| | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
|SpecularColor0| | |SpecularColor0|ColorX| | ||
|SpecularColor1| | |SpecularColor1|ColorX| | ||
|SpecularColor2| | |SpecularColor2|ColorX| | ||
|SpecularColor3| | |SpecularColor3|ColorX| | ||
|SpecularMap0| | |SpecularMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv41=true| | ||
|SpecularMap1| | |SpecularMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv42=true| | ||
|SpecularMap2| | |SpecularMap2|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv43=true| | ||
|SpecularMap3| | |SpecularMap3|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv44=true| | ||
}} | }} | ||
Line 73: | Line 74: | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components{{#translation:}}|PBS Color Splat Specular]] | [[Category:Components{{#translation:}}|PBS Color Splat Specular]] | ||
[[Category:Materials:PBS{{#translation:}}|PBS Color Splat Specular]] | |||
[[Category:Materials{{#translation:}}|PBS Color Splat Specular]] | |||
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Color Splat Specular]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Color Splat Specular]] |
Latest revision as of 00:01, 14 November 2024
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 | 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. |
_shader
|
Shader | |
MultiValue
|
Bool | |
ColorMap
|
ITexture2D | |
ColorMapScale
|
Float2 | |
ColorMapOffset
|
Float2 | |
PackedHeightMap
|
ITexture2D | |
HeightTransitionRange
|
Float | |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor0
|
ColorX | |
AlbedoColor1
|
ColorX | |
AlbedoColor2
|
ColorX | |
AlbedoColor3
|
ColorX | |
AlbedoTexture0
|
ITexture2D | |
AlbedoTexture1
|
ITexture2D | |
AlbedoTexture2
|
ITexture2D | |
AlbedoTexture3
|
ITexture2D | |
EmissiveColor0
|
ColorX | |
EmissiveColor1
|
ColorX | |
EmissiveColor2
|
ColorX | |
EmissiveColor3
|
ColorX | |
EmissiveMap0
|
ITexture2D | |
EmissiveMap1
|
ITexture2D | |
EmissiveMap2
|
ITexture2D | |
EmissiveMap3
|
ITexture2D | |
PackedEmissionMap
|
ITexture2D | |
PackedNormalMap01
|
ITexture2D | |
PackedNormalMap23
|
ITexture2D | |
NormalScale0
|
Float | |
NormalScale1
|
Float | |
NormalScale2
|
Float | |
NormalScale3
|
Float | |
AlphaClip
|
Float | |
OffsetFactor
|
Float | how much this material should be pushed forwards or backwards on the depth buffer factor wise |
OffsetUnits
|
Float | how much this material should be pushed forwards or backwards on the depth buffer unit wise |
RenderQueue
|
Int | changes at which point a material renders on the render stack |
SpecularColor0
|
ColorX | |
SpecularColor1
|
ColorX | |
SpecularColor2
|
ColorX | |
SpecularColor3
|
ColorX | |
SpecularMap0
|
ITexture2D | |
SpecularMap1
|
ITexture2D | |
SpecularMap2
|
ITexture2D | |
SpecularMap3
|
ITexture2D |
Usage
For comprehensive guides see Color Splat Materials.