@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.
39 lines • 1.49 kB
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "pbrFragmentReflectionDeclaration";
const shader = `
var reflectionSamplerSampler: sampler;var reflectionSampler: texture_cube<f32>;
var reflectionLowSamplerSampler: sampler;var reflectionLowSampler: texture_cube<f32>;var reflectionHighSamplerSampler: sampler;var reflectionHighSampler: texture_cube<f32>;
var irradianceSamplerSampler: sampler;var irradianceSampler: texture_cube<f32>;
var reflectionSamplerSampler: sampler;var reflectionSampler: texture_2d<f32>;
var reflectionLowSamplerSampler: sampler;var reflectionLowSampler: texture_2d<f32>;var reflectionHighSamplerSampler: sampler;var reflectionHighSampler: texture_2d<f32>;
var irradianceSamplerSampler: sampler;var irradianceSampler: texture_2d<f32>;
varying vPositionUVW: vec3f;
varying vDirectionW: vec3f;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
export const pbrFragmentReflectionDeclarationWGSL = { name, shader };
//# sourceMappingURL=pbrFragmentReflectionDeclaration.js.map