StrandedKitty/three-csm

Can this be used with PBR Gltf grounds?

Opened this issue · 2 comments

Been trying to get this to work correctly on an imported GLTF mesh with PBR materials but doesn't seem to work as expected out of the box, wondering if it only works with planes like many other threejs shadow plane examples.

What three.js version are you using? There've been reports that three-csm doesn't work with three.js >=156 because something has changed in the strandard material implementation recently. This lib heavily relies on the way PBR a.k.a standard material shaders are implemented because it injects custom code into them.

Just updated to version r157.