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

SettingWhat it doesRecommended
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

Download
Pilzprinz God Rays.fx 10 kB

Install instructions

๐Ÿ“ฆ Installation

  1. 1Download Pilzprinz God Rays.fx from this page
  2. 2Copy the file to your ReShade shaders folder:
    [Game Folder]/reshade-shaders/Shaders/Pilzprinz God Rays.fx
  3. 3Open ReShade in-game (press Home) โ†’ find "Pilzprinz God Rays v10.0" โ†’ enable it
  4. 4Set the light source position (X/Y sliders) to match where the sun is in your scene. Adjust threshold and depth to taste.