UNPKG

@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.

20 lines (18 loc) 537 B
import { S as ShaderStore } from './index-FzOfPXLV.esm.js'; // Do not edit. const name = "sceneUboDeclaration"; const shader = `struct Scene {viewProjection : mat4x4<f32>, #ifdef MULTIVIEW viewProjectionR : mat4x4<f32>, #endif view : mat4x4<f32>, projection : mat4x4<f32>, vEyePosition : vec4<f32>,}; #define SCENE_UBO var<uniform> scene : Scene; `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } //# sourceMappingURL=sceneUboDeclaration-81FvQqbq.esm.js.map