Edit of asset "Depth Fog Screen Space PostFX" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Depth Fog Screen Space PostFX | Depth Fog Screen Space PostFX |
Description |
Godot 4 volumetric fog replaced Godot 3 depth fog. But depth fog feels more retro and is suitable for PSX / N64 style graphics. This impliments the camera setup required to create a Post Processing with depth-sampling fragment shader in Godot 4 ala this guide: https://docs.godotengine.org/en/4.0/tutorials/shaders/advanced_postprocessing.html It contains a scene with a 3D Camera Setup for with a Quad mesh stretched in front and uses a fragment shader to create a Distance/Depth based fog effect. The Fog also has a 2 color noise effect. The shader has input paramters to set the distance, colors and timescale of the noise. The second effect is a 2D Canvas shader that fades in from black, controlled by a script tweeen. |
Godot 4 volumetric fog replaced Godot 3 depth fog. But depth fog feels more retro and is suitable for PSX / N64 style graphics. This impliments the camera setup required to create a Post Processing with depth-sampling fragment shader in Godot 4 ala this guide: https://docs.godotengine.org/en/4.0/tutorials/shaders/advanced_postprocessing.html It contains a scene with a 3D Camera Setup for with a Quad mesh stretched in front and uses a fragment shader to create a Distance/Depth based fog effect. The Fog also has a 2 color noise effect. The shader has input paramters to set the distance, colors and timescale of the noise. The second effect is a 2D Canvas shader that fades in from black, controlled by a script tweeen. |
Category | Shaders | Shaders |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog |
Issues Url | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/issues | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/issues |
Godot version | Godot 4.2 | Godot 4.2 |
Version String | 1.0 | 1.0 |
Download Commit | 55733e666e45453712f4d81598653eeded9a9444 | 82f2e432b6f05a66744c8aabc9824195f34e93c7 |
Download Url (Computed) | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/archive/55733e666e45453712f4d81598653eeded9a9444.zip | https://github.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/archive/82f2e432b6f05a66744c8aabc9824195f34e93c7.zip |
Icon Url |
https://raw.githubusercontent.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/main/screenshot.jpg
|
https://raw.githubusercontent.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/main/screenshot.jpg
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/zvodd/Godot4-ScreenSpacePostFX-DepthFog/main/screenshot.jpg
|
|
Thumbnail |
|