Add SSShadowPass (screen space shadow) #21951
Conversation
|
Another branch that trying to use Demo: https://raw.githack.com/gonnavis/three.js/SSLightPass/examples/webgl_postprocessing_ssshadow.html |
|
Hey @gonnavis, this is a cool technique, are you still working on it? Is there any way I could contribute? |
|
Hello @lyonsno, currently it lacks a lot of feature, such as:
But recently I may have not enough time and ability to do all these. |
|
|
||
| }; | ||
|
|
||
| var SSShadowDepthShader = { |
There was a problem hiding this comment.
It's copy-pasted from old SSRShader.js, should be ok with let const.
|
SSShadowPass looks amazing, I would like to use this in Fciv.net to implement shadows. I therefore hope this could be merged and included in the next Three.js release please. |
|
@andreasrosdal Thanks! I'll try to ship a basic version first. |
|
Closing in favor of #32050. |

Related:
https://twitter.com/mrdoob/status/1400345686537916418
https://twitter.com/BrianKaris/status/1283513723852689409
Description:
Made a quick prototype of SSShadowPass (screen space shadow), I'll keep improving.
---EDIT---

Demo: https://raw.githack.com/gonnavis/three.js/SSShadowPassPr/examples/webgl_postprocessing_ssshadow.html