Welcome, Guest.
Username: Password: Remember me

TOPIC: Skyline coordinates from Depth.

Skyline coordinates from Depth. 1 year 11 months ago #1

Hello, guys.

Now, I am writing an Volmetric Fog shader for Reshade 3 and I have a question.
Is it possible to get "Y" coordinate of the scene's skyline using the information from the Depth buffer?
The administrator has disabled public write access.

Skyline coordinates from Depth. 1 year 11 months ago #2

No. You can only know how far objects are away from you, but world space coordinates are not retrievable. Hence a volumetric fog is inefficient as the integral of the result can be done as a function itself.
Last Edit: 1 year 11 months ago by Marty McFly.
The administrator has disabled public write access.