@luma.gl/shadertools
Version:
Shader module system for luma.gl
31 lines (27 loc) • 717 B
JavaScript
// luma.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
export const MODULE_INJECTORS_VS = /* glsl */ `\
logdepth_adjustPosition(gl_Position);
`;
export const MODULE_INJECTORS_FS = /* glsl */ `\
fragColor = material_filterColor(fragColor);
fragColor = lighting_filterColor(fragColor);
fragColor = fog_filterColor(fragColor);
fragColor = picking_filterHighlightColor(fragColor);
fragColor = picking_filterPickingColor(fragColor);
logdepth_setFragDepth();
`;
//# sourceMappingURL=module-injectors.js.map