graphics - Is it possible to decrease shadow intensity of individual mesh in scene in three js? -


can guide me in way can achieve that? know decreasing intensity of ambient light can manage shadow or bias it's need individual object in scene?

    light.shadow.bias = -0.003;     var ambientlight = new three.ambientlight( 0xcccccc, 0.2 );     scene.add( ambientlight );     var material = new three.meshphongmaterial({                                 reflectivity: 0.5,                                  opacity: 0.5,                                  refractionratio: 0.95,                                 transparent: true                             }); 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -