Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fog Depth missing in Godot 4? #80274

Closed
Krasapan opened this issue Aug 4, 2023 · 2 comments
Closed

Fog Depth missing in Godot 4? #80274

Krasapan opened this issue Aug 4, 2023 · 2 comments

Comments

@Krasapan
Copy link

Krasapan commented Aug 4, 2023

Godot version

4.1.1.stable

System information

Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce MX330 (NVIDIA; 31.0.15.1640) - 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz (4 Threads)

Issue description

Seems that Fog Depth feature is missing in Godot 4:
FogParameters

Why do I need Fog Depth?
To fix such artifacts that occur when anything in the distance is on the same distance as camera's render limit:
FogDepth2

Depth hides that "seam" pretty well.

I tried to hide that seam with Volumetric Fog, but it doesn't work that well as with Fog Depth, it's either don't hide the seam or hides it if I make general volumetric fog density insanely high that significantly obstructs vision

Why was Fog Depth removed?
If yes, then why?
If no, where it was moved?

Any ways I can fix my problem (smoothly hide camera render limit seam) without Godot 3's Fog Depth in Godot 4?

Steps to reproduce

Download reproduction project (Godot 3.5.1), press arrows Up and Down to move mesh and observe how fog with Fog Depth smoothly reveals mesh in camera's sight

Minimal reproduction project

Fog Depth.zip

@clayjohn
Copy link
Member

clayjohn commented Aug 4, 2023

This will be fixed by #66030

@Calinou
Copy link
Member

Calinou commented Aug 4, 2023

Closing in favor of godotengine/godot-proposals#4619.

@Calinou Calinou closed this as completed Aug 4, 2023
@Calinou Calinou removed this from the 4.x milestone Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants