Skip to content

Shader code for my game Unto Deepest Depths along with a sample application to see it in action and play around with the settings.

License

Notifications You must be signed in to change notification settings

theshaggydev/unto-deepest-depths-shader

Repository files navigation

Unto Deepest Depths Shader

This is the shader code used for Unto Deepest Depths, provided with a sample application so you can play around with the parameters. It has been tested with Godot 4.2.

Usage

To use the shader in your own project:

  • Add a CanvasLayer as an Autoload (assuming you want the effect applied globally, otherwise just add the CanvasLayer wherever desired in your application)
  • Set the "Layer" property of the CanvasLayer to its max value so it draws on top of everything else
  • Add a full screen ColorRect as a child of the CanvasLayer
  • Add the shader to the ColorRect and adjust parameters accordingly

Note: Some UI items, such as tooltips, may draw on top of the CanvasLayer. If that's an issue for you, you can (as of Godot 4.2) programmatically set the CanvasLayer to a higher value until it covers everything properly.

Application screenshot

Other notes

In order to more closely match the look of Unto Deepest Depths, this sample application uses a resolution of 640x360, but renders the artwork at half the resolution by using a zoomed in Camera2D node. This allows for a chunkier look while keeping the UI more readable.

The shader in this repository uses snippets from, and/or is influenced by, other quality open source retro shaders such as VHS and CRT monitor effect and Realistic CRT shader.

If you want to know more about the development of the game, I have devlogs you can read on my site or watch on YouTube.

This code is provided as-is, with no warranty, though feel free to reach out with questions or issues.

About

Shader code for my game Unto Deepest Depths along with a sample application to see it in action and play around with the settings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published