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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -