Cloth Simulation with XBPD (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Nice demos, indeed.
Replies (3)
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).
The light uses a froxel volumetric fog [1] implementation. The flares are bloom + a rendering from the camera POV, the lens reflection reprojected a few times.
[1] https://www.mattiasstrand.com/posts/volumetric-fog/