Shadows in three.js : r71 vs r76 -


i'm building 3d environment using three.js , r76. can't seem shadows right.

in r71, pretty happy result, doesn't work same in r76.

a fiddle illustrate problem:

r71: https://jsfiddle.net/sq2w15xy/

r76: https://jsfiddle.net/9uuq6s56/

as can see, shadow black , pixelated in newest revision. changed since then? can same smooth shadow in r71?

i suppose light's shadow.mapsize must set first it's otherwise set ( 512, 512) default.

        spotlight.shadow.mapsize.width = 2048;          spotlight.shadow.mapsize.height  = 2048; 

Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -