Logarithmic depth buffer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Datoh


I would to implement a Logarithmic depth buffer (Outerra: Logarithmic depth buffer optimizations & fixes).

Can I just had a global shader or do I have to add the feature in the engine?


:bust_in_silhouette: Reply From: SIsilicon

Unfortunately logarithmic depth buffers aren’t a thing in Godot yet. And yeah, it would require a portion of the engine to be re-written.

So I just have to update the engine :slight_smile:

Datoh | 2019-03-05 15:21

There is no official version of Godot that includes logarithmic depth buffers. You have to modify the engine’s source code.

SIsilicon | 2019-03-05 15:42

That what I mean, I cloned Godot but failed to compile on Windows (known bug)

Datoh | 2019-03-06 10:44