(2 intermediate revisions by one other user not shown)
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.
[[Category:Components{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Components{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Materials:PBS{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Materials:PBS{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Materials{{#translation:}}|PBS Stencil Material Specular]]
[[Category:Materials{{#translation:}}|PBS Stencil Material Specular]]
Latest revision as of 14:24, 7 July 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. This material renders black when unable to render, rather than render nothing. This is most likely a bug.
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.