A rendering-fighting glitch occured when applying the custom material that the stencil test was applied on to a model with a transparent textured surface.
I made a glow outline for my custom entity and it looked perfectly with Vibrant Visuals (I1 in attachment).
However, the glitch occured when I change the graphic mode to Fancy (V1 in attachment).
Then, I created a new flat world to test if this glitch occured again and it still occured (I2 in attachment).
But surprisingly, the frequency of the glitch decreased. I guess it was because the world was new.
This bug is relative to MCPE-219845.
Step to Reproduce:
Create a new world or use the world provided from this bug report.
Apply the addon provided from this bug report.
Change your graphic mode to Vibrant Visuals.
Spawn a Wall Collision entity and enter the command “/event entity @e zombiend:add_glow”.
Change your graphic mode to Fancy (or Simple).
Expected Result:
In both graphic modes, the entity rendered correctly, and no render glitch.
Observed Result:
The entity rendered correctly with Vibrant Visuals, but the glitch occured in Fancy (or Simple) graphic mode.
additional attachment
[media][media]