Moment Shadow Mapping
2019-10-08
Moment Shadow Mapping(MSM)
Blur shadow depth buffer and get a smooth shadow. Use computer shader to do the blur process.




Computer Shader result:


Compare PCF, MSM:
PCF also can get a smooth shadow, but without a nice transition from dark to bright.
MSM will cost more time on my computer. (PCF with 120 fps, MSM with 90 fps)