|  Automated: update component fields |  Automated: update Fields, Categories | ||
| Line 65: | Line 65: | ||
| [[Category:Components{{#translation:}}|PBS Slice Metallic]] | [[Category:Components{{#translation:}}|PBS Slice Metallic]] | ||
| [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Slice Metallic]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Slice Metallic]] | ||
| [[Category:Materials:PBS]] | [[Category:Materials:PBS{{#translation:}}|PBS Slice Metallic]] | ||
| [[Category:Materials]] | [[Category:Materials{{#translation:}}|PBS Slice Metallic]] | ||
Revision as of 20:11, 3 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
| 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. Some components stop their functionality when this field is disabled, but some don't. | 
| 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 | 
