@luma.gl/shaders/modules
Import predefined shader modules, their props types, and their associated helpers from this entry point. Pass the descriptors in the modules array when constructing a model or assembling a shader.
import {depthInterval, multisampledDepthInterval} from '@luma.gl/shaders/modules';
const modules = [sampleCount > 1 ? multisampledDepthInterval : depthInterval];