@babylonjs/viewer
Version:
The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.
28 lines (25 loc) • 799 B
JavaScript
import { S as ShaderStore } from './index-MZPybX0H.esm.js';
// Do not edit.
const name = "vertexColorMixing";
const shader = `
vertexOutputs.vColor=vec4f(1.0);
vertexOutputs.vColor*=colorUpdated;
vertexOutputs.vColor=vec4f(vertexOutputs.vColor.rgb*colorUpdated.rgb,vertexOutputs.vColor.a);
vertexOutputs.vColor*=vertexInputs.instanceColor;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
const vertexColorMixingWGSL = { name, shader };
export { vertexColorMixingWGSL as v };
//# sourceMappingURL=vertexColorMixing-C_ggORv4.esm.js.map