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 18: | Line 18: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|TextureScale|Float2| | |TextureScale|Float2| | ||
|TextureOffset|Float2| | |TextureOffset|Float2| | ||
|AlbedoColor| | |AlbedoColor|ColorX| | ||
|EdgeColor| | |EdgeColor|ColorX| | ||
|AlbedoTexture| | |AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true| | ||
|EmissiveColor| | |EmissiveColor|ColorX| | ||
|EdgeEmissiveColor| | |EdgeEmissiveColor|ColorX| | ||
|EmissiveMap| | |EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv8=true| | ||
|NormalMap| | |NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv9=true| | ||
|NormalScale|Float| | |NormalScale|Float| | ||
|OcclusionMap| | |OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true| | ||
|DetailTextureScale|Float2| | |DetailTextureScale|Float2| | ||
|DetailTextureOffset|Float2| | |DetailTextureOffset|Float2| | ||
|DetailAlbedoTexture| | |DetailAlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true| | ||
|DetailNormalMap| | |DetailNormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv15=true| | ||
|DetailNormalScale|Float| | |DetailNormalScale|Float| | ||
|Culling|Culling| | |Culling|Culling| | ||
|HideSlicers|Bool| | |HideSlicers|Bool| | ||
|Slicers|SyncList`1| | |Slicers|{{RootFieldType|SyncList`1|[[Type:Slicer|Slicer]]}}|TypeAdv19=true| | ||
|LocalSpace|Bool| | |LocalSpace|Bool| | ||
|EdgeTransitionStart|Float| | |EdgeTransitionStart|Float| | ||
Line 44: | Line 44: | ||
|_useAlphaClip|Bool| | |_useAlphaClip|Bool| | ||
|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}} | ||
|SpecularColor| | |SpecularColor|ColorX| | ||
|SpecularMap| | |SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv30=true| | ||
|_regular| | |_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv31=true| | ||
|_transparent| | |_transparent|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv32=true| | ||
}} | }} | ||
Line 65: | Line 65: | ||
[[Category:Components{{#translation:}}|PBS Slice Specular]] | [[Category:Components{{#translation:}}|PBS Slice Specular]] | ||
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Slice Specular]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Slice Specular]] | ||
[[Category:Materials:PBS]] | [[Category:Materials:PBS{{#translation:}}|PBS Slice Specular]] | ||
[[Category:Materials]] | [[Category:Materials{{#translation:}}|PBS Slice 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 Slice (Metallic & Specular) shader:
- Supports up to 8 plane slicers, cutting a mesh
- Supports slice fade effect along the edge (albedo & emissive)
- Is dual-sided, rendering interior (mesh will look as a shell though)
- Adds a GenericSlicer component, which allows to set the slicing plane visually. To create/edit the material, click "Create Slicer" in the inspector.
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. |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor
|
ColorX | |
EdgeColor
|
ColorX | |
AlbedoTexture
|
ITexture2D | |
EmissiveColor
|
ColorX | |
EdgeEmissiveColor
|
ColorX | |
EmissiveMap
|
ITexture2D | |
NormalMap
|
ITexture2D | |
NormalScale
|
Float | |
OcclusionMap
|
ITexture2D | |
DetailTextureScale
|
Float2 | |
DetailTextureOffset
|
Float2 | |
DetailAlbedoTexture
|
ITexture2D | |
DetailNormalMap
|
ITexture2D | |
DetailNormalScale
|
Float | |
Culling
|
Culling | |
HideSlicers
|
Bool | |
Slicers
|
list of Slicer | |
LocalSpace
|
Bool | |
EdgeTransitionStart
|
Float | |
EdgeTransitionEnd
|
Float | |
AlphaHandling
|
AlphaHandling | |
_useAlphaClip
|
Bool | |
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 |
SpecularColor
|
ColorX | |
SpecularMap
|
ITexture2D | |
_regular
|
Shader | |
_transparent
|
Shader |