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.

16 lines (13 loc) 733 B
import { ShaderStore } from '@babylonjs/core/Engines/shaderStore.js'; // Do not edit. const name = "envShadowGroundVertexShader"; const shader = `attribute position: vec3f;attribute uv: vec2f;uniform viewProjection: mat4x4f;uniform worldViewProjection: mat4x4f;varying vUV: vec2f;@vertex fn main(input : VertexInputs)->FragmentInputs {vertexOutputs.position=uniforms.worldViewProjection*vec4f(input.position,1.0);vertexOutputs.vUV=input.uv;}`; // Sideeffect if (!ShaderStore.ShadersStoreWGSL[name]) { ShaderStore.ShadersStoreWGSL[name] = shader; } /** @internal */ const envShadowGroundVertexShaderWGSL = { name, shader }; export { envShadowGroundVertexShaderWGSL }; //# sourceMappingURL=envShadowGround.vertex-oRlsSdho.js.map