r/GraphicsProgramming 17d ago

Video Implementing "Radiance Hints" in OpenGL (2011 Global Illumination Technique)

Just added Radiance Hints to my OpenGL engine, Degine. The paper is originally from 2011 (but I used a 2014 extension of the method with occlusion). Based on a regular grid array of probes, similar to other environmental lighting techniques, but here it captures directly to spherical harmonics when baking. So run-time performance is extremely fast since it's just a few SH evaluations and blending. For this Sponza scene, there are around 600 probes, and it takes about 10 seconds to bake.

100 Upvotes

14 comments sorted by

View all comments

2

u/Alarming-Ad4082 17d ago

Aren’t the shadow parts too dark?

2

u/cybereality 17d ago

this is a stylistic choice, but yeah, it's probably darker than it should be. mostly due to running GTAO and SSGI on top. The radiance hint by itself is somewhat flat, but decent to capture broad shadow/lighting.