UNPKG

@three.ez/instanced-mesh

Version:

Enhanced InstancedMesh with frustum culling, fast raycasting (using BVH), sorting, visibility management and more.

10 lines (9 loc) 254 B
export default /* glsl */ ` #ifdef USE_INSTANCING_INDIRECT mat4 instanceMatrix = getInstancedMatrix(); #ifdef USE_INSTANCING_COLOR_INDIRECT vColor *= getColorTexture(); #endif #endif `; //# sourceMappingURL=instanced_vertex.glsl.js.map