Description:
We tend to use Stencil for visual highlighting bones on our entities, it allows us to create depth and visual POIs on our entities. With new PBR features, this state started to create graphical glitches. We did additional testing, and it seems like Stencils are the root of this issue, disabling it allowed us to get rid of these glitches, but it lowers visual quality of our entities.
Steps to reproduce:
Create entity that uses material with ‘EnableStencilTest’ and ‘StencilWrite’ states added and ‘stencilRef’ property defined
Create a world with that entity and enable ‘Vibrant Visuals’
Expected results:
Entity that renders using layers to highlight some of the bones
Actual results:
Entity cases graphical glitches that are also visible through other blocks.
Additional info:
These glitches are present on our marketplace products: Wisp - Dynamic Light XP Games, Furniture Merchant - Furniture Add-on XP Games, Cave Dweller - Cave Dweller Add-on (official) XP Games
Attachments
Comments 5
Specifically seems to be an issue with setting the “stencilDepthFailOp”: “Replace” property on either the front or back face.
Confirmed still present in 1.21.90.26
[media]