
Pilzprinz God Rays Reshade Shader
A downloadable mod
โ๏ธ Pilzprinz God Rays
Volumetric God Rays shader for ReShade. Add beautiful, realistic light shafts to any game — even titles from 2003.
๐ฎ Built for old games. Works on DirectX 9/10/11, Shader Model 3.0+. Zero external textures. One file, drop it in and go.
โจ What does it do?
Finds the brightest areas in your scene (sun, sky, bright windows, explosions) and casts volumetric light rays from them. The effect is fully screen-space — no scene geometry needed.
๐ ๏ธ Features
| โ๏ธ Radial God Rays | Screen-space volumetric light scattering based on GPU Gems 3 |
| ๐ฏ Smart Threshold | Soft brightness filter with adjustable knee curve — isolate only the sun or let everything glow |
| ๐๏ธ Depth Filter | Min depth slider to isolate sky/sun from nearby bright objects (lamps, explosions, HUD) |
| ๐จ Ray Tint | Color picker for warm sunset, cold moonlight, or any custom tone (sRGB-correct) |
| ๐ Configurable Rays | Adjust length, decay, sample count (8โ128), exposure |
| ๐ฅ๏ธ HUD Exclusion | Filters out UI elements so health bars don't create god rays |
| ๐ฌ Blend Modes | Additive (punchy) or Screen (soft, preserves highlights) |
| ๐ง Tonemapping | Built-in Reinhard compression — no overblown whites |
| โจ Anti-banding | Temporal dithering eliminates visible stepping in gradients |
| ๐งน Half-res + Tent Filter | Renders at half resolution with 9-tap soft upscale — fast AND smooth |
โ๏ธ Settings Guide
| Setting | What it does | Recommended |
|---|---|---|
| Light Source X/Y | Position of the sun in screen space | Match your scene's sun |
| Brightness Threshold | Minimum brightness to emit rays | 0.6โ0.85 |
| Threshold Softness | Smooth vs hard cutoff | 0.05โ0.15 |
| Min Depth | Filter out nearby objects | 0.0 or ~0.95 (sky only) |
| Ray Length | How far rays extend | 0.8โ1.5 |
| Decay | Fade-off speed | 0.96โ0.99 |
| Sample Count | Quality vs FPS | 64 (balanced) |
| Exposure | Ray brightness | 0.2โ0.5 |
| Blend Mode | Additive (bright) or Screen (soft) | Additive for day, Screen for dusk |
| Tonemapping | Compress highlights | 0.1โ0.3 |
๐ฎ Tested With
Works with any game that supports ReShade (DirectX 9, 10, 11, OpenGL).
Designed specifically for older titles (2000โ2015) that lack built-in volumetric lighting. But works great with modern games too!
๐ Technical Details
- โข 3-pass pipeline: Bright Pass โ Radial Blur โ Compose
- โข Half-resolution processing for performance (RGBA16F)
- โข sRGB-correct color pipeline throughout
- โข Shader Model 3.0 compatible (DX9 games!)
- โข No external textures — single .fx file
- โข Based on GPU Gems 3, Chapter 13 with significant enhancements
๐ License
Free to use. Credit appreciated but not required. Do not resell.
๐ Found a bug?
Leave a comment below or reach out. This shader has been through 15 rounds of code review — but I'm always looking to improve!
Download
Install instructions
๐ฆ Installation
- 1Download
Pilzprinz God Rays.fxfrom this page - 2Copy the file to your ReShade shaders folder:
[Game Folder]/reshade-shaders/Shaders/Pilzprinz God Rays.fx - 3Open ReShade in-game (press
Home) โ find "Pilzprinz God Rays v10.0" โ enable it - 4Set the light source position (X/Y sliders) to match where the sun is in your scene. Adjust threshold and depth to taste.













