three.js - Switch lighting of THREE.MeshPhongMaterial on / off dynamically -
i wonder if there way turn off lighting meshphongmaterial on runtime.
i'm working on scene big distances between meshes , because of it's impossible work implemented shadow of three.js.
so wanna try turn off light on object, when it's behind another, i'll determine ray collision. in next step nice ease in , out, instead of switching light off.
any hints? thank in advance!
Comments
Post a Comment