remove note about a bug that i've checked is currently not present
Line 7:
Line 7:
|Name=PBS Stencil Material Specular
|Name=PBS Stencil Material Specular
}}
}}
The '''PBS_StencilMaterialSpecular''' component is used as a material for meshes to make them render differently when in front of other stencil materials. This material renders black when unable to render, rather than render nothing. This is most likely a bug.
The '''PBS_StencilMaterialSpecular''' component is used as a material for meshes to make them render differently when in front of other stencil materials.
See [[Stencil]]s.
See [[Stencil]]s.
Latest revision as of 17:15, 26 September 2025
This article or section is a stub. You can help the Resonite wiki by expanding it.
Component image
PBS Stencil Material Specular component as seen in the Scene Inspector
The PBS_StencilMaterialSpecular component is used as a material for meshes to make them render differently when in front of other stencil materials.
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.
The Stencil ID of this material. This is sometimes written to the frame buffer's Stencil mask, or used to determine whether this material should render for a particular pixel.
does a Bitwise AND with this number for every pixel in the frame buffer this is rendering on top of when this object is drawn, after reading from the buffer.
How much this material should be pushed forwards or backwards on the depth buffer, based on the polygon's slope relative to the camera (i.e. polygons parallel to the camera will not be affected by this).[1]
How much this material should be pushed forwards or backwards on the depth buffer (regardless of the polygon's slope relative to the camera), in units equal to the smallest possible difference for the rendering device being used.[1]