Component:PBS SliceSpecular

From Resonite Wiki
Revision as of 19:33, 25 August 2021 by imported>Xekri
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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


Component image 
PBS Slice Specular 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 Color
EdgeColor Color
AlbedoTexture IAssetProvider<ITexture2D>
EmissiveColor Color
EdgeEmissiveColor Color
EmissiveMap IAssetProvider<ITexture2D>
NormalMap IAssetProvider<ITexture2D>
NormalScale Float
OcclusionMap IAssetProvider<ITexture2D>
DetailTextureScale Float2
DetailTextureOffset Float2
DetailAlbedoTexture IAssetProvider<ITexture2D>
DetailNormalMap IAssetProvider<ITexture2D>
DetailNormalScale Float
Culling Culling
HideSlicers Bool
Slicers SyncList<Slicer>
LocalSpace Bool
EdgeTransitionStart Float
EdgeTransitionEnd Float
AlphaHandling AlphaHandling
_useAlphaClip Bool
AlphaClip Float
OffsetFactor Float
OffsetUnits Float
RenderQueue Int
SpecularColor Color
SpecularMap IAssetProvider<ITexture2D>
_regular IAssetProvider<Shader>
_transparent IAssetProvider<Shader>

Usage

Examples

Related Components