@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.
34 lines • 1.1 kB
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "backgroundFragmentDeclaration";
const shader = `uniform vec4 vEyePosition;uniform vec4 vPrimaryColor;
uniform vec4 vPrimaryColorShadow;
uniform float shadowLevel;uniform float alpha;
uniform vec2 vDiffuseInfos;
uniform vec2 vReflectionInfos;uniform mat4 reflectionMatrix;uniform vec3 vReflectionMicrosurfaceInfos;
uniform vec3 vBackgroundCenter;
uniform vec4 vReflectionControl;
uniform mat4 view;
uniform vec2 projectedGroundInfos;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStore[name]) {
ShaderStore.IncludesShadersStore[name] = shader;
}
/** @internal */
export const backgroundFragmentDeclaration = { name, shader };
//# sourceMappingURL=backgroundFragmentDeclaration.js.map