UNPKG

@luma.gl/shadertools

Version:

Shader module system for luma.gl

11 lines (9 loc) 435 B
import {ShaderModule} from '../../types'; /** * Provides support for color-coding-based picking and highlighting. * In particular, supports picking a specific instance in an instanced * draw call and highlighting an instance based on its picking color, * and correspondingly, supports picking and highlighting groups of * primitives with the same picking color in non-instanced draw-calls */ export const picking: ShaderModule;