Component:RefractMaterial: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
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,
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|Rect|Rect|
|Rect|Rect|
|RectClip|Bool|
|RectClip|Bool|
|ColorMask|ColorMask|
|ColorMask|ColorMask|
|StencilComparison|StencilComparison|
|StencilComparison|StencilComparison|{{Template:Material_StencilComparison_Desc}}
|StencilOperation|StencilOperation|
|StencilOperation|StencilOperation|{{Template:Material_StencilOperation_Desc}}
|StencilID|Byte|
|StencilID|Byte|{{Template:Material_StencilID_Desc}}
|StencilWriteMask|Byte|
|StencilWriteMask|Byte|{{Template:Material_StencilWriteMask_Desc}}
|StencilReadMask|Byte|
|StencilReadMask|Byte|{{Template:Material_StencilReadMask_Desc}}
|RenderQueue|Int|
|RenderQueue|Int|{{Template:Material_RenderQueue_Desc}}
|RefractionStrength|Float|
|RefractionStrength|Float|
|DepthBias|Float|
|DepthBias|Float|
Line 28: Line 28:
|NormalTextureOffset|Float2|
|NormalTextureOffset|Float2|
|PerObject|Bool|
|PerObject|Bool|
|BlendMode|BlendMode|
|BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}}
|Sidedness|Sidedness|
|Sidedness|Sidedness|{{Template:Material_Sidedness_Desc}}
|ZWrite|ZWrite|
|ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}}
|ZTest|ZTest|
|ZTest|ZTest|{{Template:Material_ZTest_Desc}}
|_global|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv21=true|
|_global|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv21=true|
|_perObject|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv22=true|
|_perObject|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv22=true|

Latest revision as of 00:50, 14 November 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Refract Material component as seen in the Scene Inspector


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.
Rect Rect
RectClip Bool
ColorMask ColorMask
StencilComparison StencilComparison Template:Material StencilComparison Desc
StencilOperation StencilOperation Template:Material StencilOperation Desc
StencilID Byte Template:Material StencilID Desc
StencilWriteMask Byte Template:Material StencilWriteMask Desc
StencilReadMask Byte Template:Material StencilReadMask Desc
RenderQueue Int Template:Material RenderQueue Desc
RefractionStrength Float
DepthBias Float
DepthFadeDivisor Float
NormalMap ITexture2D
NormalTextureScale Float2
NormalTextureOffset Float2
PerObject Bool
BlendMode BlendMode How to blend this material's colors vs what it rendered on top of.
Sidedness Sidedness Render on both sides of the mesh, front, or back.
ZWrite ZWrite whether this material should respect the distance it is from the camera.
ZTest ZTest Template:Material ZTest Desc
_global Shader
_perObject Shader

Usage

Examples

Related Components