@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.
37 lines (34 loc) • 1.29 kB
JavaScript
import { S as ShaderStore } from './index-MZPybX0H.esm.js';
// Do not edit.
const name = "instancesDeclaration";
const shader = `
attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
attribute instanceColor : vec4<f32>;
uniform world : mat4x4<f32>;
attribute previousWorld0 : vec4<f32>;attribute previousWorld1 : vec4<f32>;attribute previousWorld2 : vec4<f32>;attribute previousWorld3 : vec4<f32>;
uniform previousWorld : mat4x4<f32>;
uniform world : mat4x4<f32>;
uniform previousWorld : mat4x4<f32>;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
const instancesDeclarationWGSL = { name, shader };
export { instancesDeclarationWGSL as i };
//# sourceMappingURL=instancesDeclaration-BNVwxGTw.esm.js.map