Wraps a three.js material class so each instance reads its diffuse color and active flag from a MaterialPropertyTexture looked up by gl_InstanceID, discarding inactive instances in the fragment shader.
gl_InstanceID
The three.js material constructor to extend.
Wraps a three.js material class so each instance reads its diffuse color and active flag from a MaterialPropertyTexture looked up by
gl_InstanceID, discarding inactive instances in the fragment shader.