bp-cloner
Version:
More info and explanations here - https://doc.babylonjs.com/communityExtensions/clonerSystem
16 lines (15 loc) • 613 B
JavaScript
import { S as t } from "./index-7uRiSnMV.js";
const e = "postprocessVertexShader", r = `attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);
@vertex
fn main(input : VertexInputs)->FragmentInputs {
vertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);
}
`;
t.ShadersStoreWGSL[e] || (t.ShadersStoreWGSL[e] = r);
const o = { name: e, shader: r };
export {
o as postprocessVertexShaderWGSL
};