Godot Version
4.2.1
Background
I assume that the Environment
resource is what does calculations for fog.
I know that if you write to the FOG
built-in, then the shader will lose access to the Environment
’s fog.
Question
Is there a way to manually retrieve those fog values?
I’ve looked through the documentation for Environment
, WorldEnvironment
, and Camera3D
but there doesn’t seem to be any properties, methods or signals that involve the final, calculated values. Would I have to calculate them myself?
Intended Result
I want to be able to implement the default fog and my own custom fog.