Component:PBS DualSidedSpecular: Difference between revisions

From Resonite Wiki
Automated: update 'HighPriorityIntegration' description
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,
 
Line 26: Line 26:
|AlphaHandling|AlphaHandling|
|AlphaHandling|AlphaHandling|
|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|ColorX|
|SpecularColor|ColorX|
|SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true|
|SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true|

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 
PBS Dual Sided Specular component as seen in the Scene Inspector


Normally, mesh faces are single-sided only, and thus only render on the outside. Applying a dual-sided material will cause both outside and inside faces to be rendered.

Fields

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
AlbedoTexture ITexture2D
EmissiveColor ColorX
EmissiveMap ITexture2D
NormalMap ITexture2D
NormalScale Float
OcclusionMap ITexture2D
Culling Culling
AlphaHandling AlphaHandling
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

Usage

Examples

Related Components