godot-volumetric-clouds
godot-volumetric-clouds copied to clipboard
Incorrect depth sorting with transparent assets
Objects with materials which have the "transparent" flag enabled are inconsistently either in front of or behind the clouds. It seems like they are not in the normal DEPTH_TEXTURE which is used for occlusion.
Likely related to and possibly fixable by workaround discussed in https://github.com/godotengine/godot/issues/28628#issuecomment-489293649
This would, however, add a lot of complexity to the plugin. I'd prefer a simpler alternative.
This can be worked around by decreasing the render priority of the clouds. However, this makes them slightly less flexible...
The mentioned hotfix was added in 97cccd5. I'd still want to find a cleaner solution though.