Keywords: Graphics, Rendering, Shadow Mapping, Shadow Volume

Shadow Mapping

Overview

Shadow mapping or shadowing projection is a process by which shadows are added to 3D computer graphics. This concept was introduced by Lance Williams in 1978, in a paper entitled “Casting curved shadows on curved surfaces.” Since then, it has been used both in pre-rendered and realtime scenes in many console and PC games.

Shadows are created by testing whether a pixel is visible from the light source, by comparing the pixel to a z-buffer or depth image of the light source’s view, stored in the form of a texture.

Quoted from: Shadow mapping
https://en.wikipedia.org/wiki/Shadow_mapping

Documents

Shadow mapping
https://en.wikipedia.org/wiki/Shadow_mapping

Cascaded Shadow Maps
https://learn.microsoft.com/en-us/windows/win32/dxtecharts/cascaded-shadow-maps

Applying shadow mapping method to culling (Recommended)
https://gamedev.net/forums/topic/473333-applying-shadow-mapping-method-to-culling/473333/

Blogs

实时阴影技术(1)Shadow Mapping (Recommended)
https://www.cnblogs.com/KillerAery/p/15201310.html

RealTimeRendering-第七章Shadow
https://zhuanlan.zhihu.com/p/617618590

Shadow Map Atlas - DOOM (2016)
https://simoncoenen.com/blog/programming/graphics/DoomEternalStudy#shadow-mapping

Shadow Mapping - DOOM Eternal (2020)
https://simoncoenen.com/blog/programming/graphics/DoomEternalStudy#shadow-mapping

【Siggraph 2019】A Scalable Real-Time Many-Shadowed-Light Rendering System 学习笔记(大量光源的实时阴影)
https://zhuanlan.zhihu.com/p/609148647

Tutorials

Tutorial 15 : Lightmaps
http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-15-lightmaps/
Tutorial 16 : Shadow mapping
http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-16-shadow-mapping/

Cascaded Shadow Mapping
https://learnopengl.com/Guest-Articles/2021/CSM

Presentations

Advanced Soft Shadow Mapping Techniques
https://developer.download.nvidia.com/presentations/2008/GDC/GDC08_SoftShadowMapping.pdf

Crysis: Playing with Real-Time Shadows (Cryteck, SIGGraph 2013)
https://www.realtimeshadows.com/sites/default/files/Playing%20with%20Real-Time%20Shadows_0.pdf

Papers

Simpler Soft Shadow Mapping
http://sauerbraten.org/lee/sssm.pdf

Shadow Algorithms for Real-time Rendering
http://research.michael-schwarz.com/publ/files/shadowcourse-eg10.pdf

Shadow Caster Culling for Efficient Shadow Mapping
https://arisilvennoinen.github.io/Publications/Shadow_Caster_Culling_for_Efficient_Shadow_Mapping.pdf

Real-time soft shadow mapping by backprojection
https://diglib.eg.org:8443/server/api/core/bitstreams/682cdb95-54bd-4d26-b2cd-5d13877b8528/content

A survey of real-time soft-shadow algorithms
https://inria.hal.science/inria-00441603/document/

Examples

SDF Baking. An OpenGL sample that demonstrates baking SDFs and using them to add Soft Shadows and Ambient Occlusion to a rasterized scene.
https://github.com/diharaw/SDFBaking

A repo of short N64 graphics demos
https://github.com/lambertjamesd/n64graphicsdemo

A sample app that demonstrates several techniques for rendering real-time shadow maps (Recommended)
https://github.com/TheRealMJP/Shadows

Cases

Shadow map for multiple point lights:
What is the best way to handle multiple point lights and shadow mapping?

Shadow Volume

Documents

Shadow volume
https://en.wikipedia.org/wiki/Shadow_volume


一眼千年几勾沉,岁月沧桑了无痕。秦砖汉瓦今犹在,不见当年风云人。-网络