@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.
22 lines (19 loc) • 577 B
JavaScript
import { S as ShaderStore } from './index-MZPybX0H.esm.js';
// Do not edit.
const name = "meshUboDeclaration";
const shader = `
uniform mat4 world;uniform float visibility;
layout(std140,column_major) uniform;uniform Mesh
{mat4 world;float visibility;};
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStore[name]) {
ShaderStore.IncludesShadersStore[name] = shader;
}
/** @internal */
const meshUboDeclaration = { name, shader };
export { meshUboDeclaration as m };
//# sourceMappingURL=meshUboDeclaration-Bv_BtoSy.esm.js.map