1234567891011121314151617181920212223242526272829303132 |
- // Do not edit.
- import { ShaderStore } from "../../Engines/shaderStore.js";
- const name = "backgroundFragmentDeclaration";
- const shader = `uniform vec4 vEyePosition;uniform vec4 vPrimaryColor;
- #ifdef USEHIGHLIGHTANDSHADOWCOLORS
- uniform vec4 vPrimaryColorShadow;
- #endif
- uniform float shadowLevel;uniform float alpha;
- #ifdef DIFFUSE
- uniform vec2 vDiffuseInfos;
- #endif
- #ifdef REFLECTION
- uniform vec2 vReflectionInfos;uniform mat4 reflectionMatrix;uniform vec3 vReflectionMicrosurfaceInfos;
- #endif
- #if defined(REFLECTIONFRESNEL) || defined(OPACITYFRESNEL)
- uniform vec3 vBackgroundCenter;
- #endif
- #ifdef REFLECTIONFRESNEL
- uniform vec4 vReflectionControl;
- #endif
- #if defined(REFLECTIONMAP_SPHERICAL) || defined(REFLECTIONMAP_PROJECTION) || defined(REFRACTION)
- uniform mat4 view;
- #endif
- #ifdef PROJECTED_GROUND
- uniform vec2 projectedGroundInfos;
- #endif
- `;
- // Sideeffect
- ShaderStore.IncludesShadersStore[name] = shader;
- /** @internal */
- export const backgroundFragmentDeclaration = { name, shader };
- //# sourceMappingURL=backgroundFragmentDeclaration.js.map
|