@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.
43 lines • 1.34 kB
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "pbrFragmentReflectionDeclaration";
const shader = `
uniform samplerCube reflectionSampler;
uniform samplerCube reflectionSamplerLow;uniform samplerCube reflectionSamplerHigh;
uniform samplerCube irradianceSampler;
uniform sampler2D reflectionSampler;
uniform sampler2D reflectionSamplerLow;uniform sampler2D reflectionSamplerHigh;
uniform sampler2D irradianceSampler;
varying vec3 vPositionUVW;
varying vec3 vDirectionW;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStore[name]) {
ShaderStore.IncludesShadersStore[name] = shader;
}
/** @internal */
export const pbrFragmentReflectionDeclaration = { name, shader };
//# sourceMappingURL=pbrFragmentReflectionDeclaration.js.map