Godot Version
4.5
Question
Hello, I have a desired effect of:
- Having a 3D Label or Billboard on screen with effects from World Environment and Camera Attributes
- The label must be hidden by objects in front of it.
Here’s a screenshot of my issue with implementing this.
The depth of field will blur the parts of the labels/textures when there’s far away objects or the sky behind them. These nodes are set to Opaque Pre-Pass to reduce the amount of transparency, but still exhibit this behavior.
I haven’t seen any clear solutions yet to solving this in Godot, some people suggest to wait for Stencil Buffers to be released. With 4.5, I’m able to somewhat grasp how it would help, but I do not know if that can be incorporated with world environment/camera attributes. I’m wondering if anyone has any leads, or would I need to write my own shaders that include the stencil buffer and outright not rely on the world environment/camera attributes?