@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
27 lines • 850 B
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "prePassDeclaration";
const shader = `
layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
varying highp vec3 vPosition;
varying highp vec3 vViewPos;
varying highp float vNormViewDepth;
varying highp vec4 vCurrentPosition;varying highp vec4 vPreviousPosition;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStore[name]) {
ShaderStore.IncludesShadersStore[name] = shader;
}
/** @internal */
export const prePassDeclaration = { name, shader };
//# sourceMappingURL=prePassDeclaration.js.map