Three.js: Improving Shadows

Created on 20 Apr 2018  路  5Comments  路  Source: mrdoob/three.js

Better Shadows.

More specifically, i want to see a better shadow-mapping implementation than PCF. Such as Variance shadowmaps. Second, i wish to see a cascading shadowmaps. They were once at the core of thee.js, but fell victim to bitrot and lack of support.

Motivation

Currently shadows require a fair amount of artistry just to make them look okay. If we had a better shadowmap algorithm - a lot of existing problems with acne and filtering would go away. If we had a cascading shadowmap implementation - it would remove the need for artistry currently required to set up shadow camera for each shadow-casting light in the scene.

born from this issue: #13807
More details is available here: #5554

Related

14048 Soft Shadows via Light Source Sampling

Suggestion

Most helpful comment

More specifically, i want to see a better shadow-mapping implementation than PCF. Such as Variance shadowmaps. Second, i wish to see a cascading shadowmaps.

Both techniques are now in the library. I think this issue can be closed.

All 5 comments

Such as Variance shadowmaps.

This is supported since R108, see #17171 馃帀

Cascaded Shadow Maps: #18481

More specifically, i want to see a better shadow-mapping implementation than PCF. Such as Variance shadowmaps. Second, i wish to see a cascading shadowmaps.

Both techniques are now in the library. I think this issue can be closed.

Both techniques are now in the library

Not to be a spoilsport, but I don't think CSM (Cascaded Shadowmaps) is part of three.js in any way, or did I miss something?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bandit picture Bandit  路  3Comments

zsitro picture zsitro  路  3Comments

donmccurdy picture donmccurdy  路  3Comments

jack-jun picture jack-jun  路  3Comments

boyravikumar picture boyravikumar  路  3Comments