Reputation: 75
How do you apply the PCF (SOFT) shadow type as seen in the Three.js online editor to your renderer in the form of javascript code?
Upvotes: 1
Views: 2144
Reputation: 17586
To use that type of shadows you need to use the respective type of shadow map:
renderer.shadowMap.type = THREE.PCFSoftShadowMap;
Related links:
r115
Upvotes: 2