Ultimate Retro Shader Collection for Godot 4
Ultimate Retro Shader Collection (URSC) brings PlayStation, Sega Saturn or Nintendo 64 aesthetics to Godot 4.
Features
- Vertex snapping and affine texture mapping (as seen on PlayStation and Saturn)
- 3-point texture filtering (as seen on Nintendo 64)
- Distance-based, per-vertex texture LOD and fog
- Metallic and shiny shaders
- 3D sprite shaders (shaded/unshaded, single/double-sided)
- Scrolling sky shader (think Mario 64)
- Screen-reading dithering and fade shaders
- Create custom spatial shaders using macros
- Compatible with all rendering backends
Documentation
You’ll find extensive documentation for the collection on its GitHub Repository.
Credits
- MenacingMecha
- Zacksly
- The Shiny shaders are adapted from their PSX Pickup Shader for Godot 3.
- tentabrobpy
- The Flat Sky shader is adapted from their N64 Style Skybox shader on Godot Shaders.
Shader code
// The collection provides plenty of ready-to-go shaders,
// but when you want to make some advanced customizations,
// like disabling lighting, you can create your own shader file,
// define a few macros, and include the main file: common.gdshaderinc.
// To learn more, read the documentation on the GitHub repository.
// Here's an example file:
shader_type spatial;
// Use vertex_snap_resolution global uniform instead of vertex_snap_intensity
#define OVERRIDE_VERTEX_SNAP_RESOLUTION
// Disable light from Light3D nodes
#define UNSHADED
#include "res://path/to/ursc/common.gdshaderinc"
Yo this is huge