THREE ['shadowmap_fragment'] in r115

I am consoling log THREE.ShaderChunk[‘shadowmap_fragment’] but it is undefined in version r115. Is there any equivalent in that version?

Thanks in advance.

This specific shader chunk is gone for years, see:

I suggest you study the implementation of THREE.ShadowMaterial. The shadow code is now a bit different than five years ago.


Hello! Sorry for the late reply and thank you very much. Probably, next time I will extend the shader Phong material instead of importing chunks.

Thanks again!