Remix.run Logo
▲ bitbonsai 5 hours ago

The Handkerchiefs demo is pretty sweet. How could you do that light/flare through the windows?

Nice demos, indeed.

▲whizzter 4 hours ago | parent | next [-]

If it's shadowmap based lighting you can trace through it.

Imagine a ray from the camera to the background pixel, sample the shadowmap along the way if the sample points along the camera ray lies within the shadowmap and add light if the shadowmap depth is further away (simplified, depending on number of lights,etc there's a number of possible optimizations but that should be googleable).

▲worried_individ 4 hours ago | parent | prev | next [-]

light through the window looks like standard volumetric rendering, a custom lens flare effect, and some (not sure if physically accurate) blooming of image values beyond the dynamic range in this scene.

▲Woshiwuja 5 hours ago | parent | prev [-]

[dead]