Component:PBS SliceMetallic: Difference between revisions

From Resonite Wiki
imported>Xekri
No edit summary
 
Automated: update component fields
Line 20: Line 20:
|TextureScale|Float2|
|TextureScale|Float2|
|TextureOffset|Float2|
|TextureOffset|Float2|
|AlbedoColor|Color|
|AlbedoColor|ColorX|
|EdgeColor|Color|
|EdgeColor|ColorX|
|AlbedoTexture|IAssetProvider`1|TypeString5=IAssetProvider<ITexture2D>|
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true|
|EmissiveColor|Color|
|EmissiveColor|ColorX|
|EdgeEmissiveColor|Color|
|EdgeEmissiveColor|ColorX|
|EmissiveMap|IAssetProvider`1|TypeString8=IAssetProvider<ITexture2D>|
|EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv8=true|
|NormalMap|IAssetProvider`1|TypeString9=IAssetProvider<ITexture2D>|
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv9=true|
|NormalScale|Float|
|NormalScale|Float|
|OcclusionMap|IAssetProvider`1|TypeString11=IAssetProvider<ITexture2D>|
|OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true|
|DetailTextureScale|Float2|
|DetailTextureScale|Float2|
|DetailTextureOffset|Float2|
|DetailTextureOffset|Float2|
|DetailAlbedoTexture|IAssetProvider`1|TypeString14=IAssetProvider<ITexture2D>|
|DetailAlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true|
|DetailNormalMap|IAssetProvider`1|TypeString15=IAssetProvider<ITexture2D>|
|DetailNormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv15=true|
|DetailNormalScale|Float|
|DetailNormalScale|Float|
|Culling|Culling|
|Culling|Culling|
|HideSlicers|Bool|
|HideSlicers|Bool|
|Slicers|SyncList`1|TypeString19=SyncList<Slicer>|
|Slicers|{{RootFieldType|SyncList`1|[[Type:Slicer|Slicer]]}}|TypeAdv19=true|
|LocalSpace|Bool|
|LocalSpace|Bool|
|EdgeTransitionStart|Float|
|EdgeTransitionStart|Float|
Line 48: Line 48:
|Metallic|Float|
|Metallic|Float|
|Smoothness|Float|
|Smoothness|Float|
|MetallicMap|IAssetProvider`1|TypeString31=IAssetProvider<ITexture2D>|
|MetallicMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv31=true|
|_regular|IAssetProvider`1|TypeString32=IAssetProvider<Shader>|
|_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv32=true|
|_transparent|IAssetProvider`1|TypeString33=IAssetProvider<Shader>|
|_transparent|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv33=true|
}}
}}



Revision as of 09:42, 1 March 2024


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


Component image 
PBS Slice Metallic component as seen in the Scene Inspector


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

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
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
OffsetUnits Float
RenderQueue Int
Metallic Float
Smoothness Float
MetallicMap ITexture2D
_regular Shader
_transparent Shader

Usage

Examples

Related Components