Component:PBS IntersectSpecular: Difference between revisions

From Resonite Wiki
imported>Xekri
No edit summary
 
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 14: Line 14:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|_shader|IAssetProvider`1|TypeString1=IAssetProvider<Shader>|
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true|
|BeginTransitionStart|Float|
|BeginTransitionStart|Float|
|BeginTransitionEnd|Float|
|BeginTransitionEnd|Float|
Line 22: Line 22:
|TextureScale|Float2|
|TextureScale|Float2|
|TextureOffset|Float2|
|TextureOffset|Float2|
|AlbedoColor|Color|
|AlbedoColor|ColorX|
|IntersectAlbedoColor|Color|
|IntersectAlbedoColor|ColorX|
|AlbedoTexture|IAssetProvider`1|TypeString10=IAssetProvider<ITexture2D>|
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv10=true|
|EmissiveColor|Color|
|EmissiveColor|ColorX|
|IntersectEmissiveColor|Color|
|IntersectEmissiveColor|ColorX|
|EmissiveMap|IAssetProvider`1|TypeString13=IAssetProvider<ITexture2D>|
|EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true|
|NormalMap|IAssetProvider`1|TypeString14=IAssetProvider<ITexture2D>|
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true|
|NormalScale|Float|
|NormalScale|Float|
|OcclusionMap|IAssetProvider`1|TypeString16=IAssetProvider<ITexture2D>|
|OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true|
|Culling|Culling|
|Culling|Culling|
|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|Color|
|SpecularColor|ColorX|
|SpecularMap|IAssetProvider`1|TypeString22=IAssetProvider<ITexture2D>|
|SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv22=true|
}}
}}


Line 51: Line 51:
[[Category:Components{{#translation:}}|PBS Intersect Specular]]
[[Category:Components{{#translation:}}|PBS Intersect Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Intersect Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Intersect Specular]]
[[Category:Materials:PBS]]
[[Category:Materials:PBS{{#translation:}}|PBS Intersect Specular]]
[[Category:Materials]]
[[Category:Materials{{#translation:}}|PBS Intersect 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 
PBS Intersect Specular component as seen in the Scene Inspector


A PBS Intersect Shader (both metallic & specular variants) renders a glow outline when intersecting with opaque materials (any that write to ZBuffer).


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.
_shader Shader
BeginTransitionStart Float
BeginTransitionEnd Float
EndTransitionStart Float
EndTransitionEnd Float
TextureScale Float2
TextureOffset Float2
AlbedoColor ColorX
IntersectAlbedoColor ColorX
AlbedoTexture ITexture2D
EmissiveColor ColorX
IntersectEmissiveColor ColorX
EmissiveMap ITexture2D
NormalMap ITexture2D
NormalScale Float
OcclusionMap ITexture2D
Culling Culling
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

Usage

Examples

Related Components