import { b as ShaderStore } from './index-BvJBnIUK.esm.js';
import { h as helperFunctions } from './helperFunctions-B9bvJxJP.esm.js';
import { i as importanceSampling, h as hdrFilteringFunctions } from './hdrFilteringFunctions-P-GHXKUT.esm.js';
import { p as pbrBRDFFunctions } from './pbrBRDFFunctions-C6Ey4VMM.esm.js';

// Do not edit.
const name = "hdrFilteringPixelShader";
const shader = `#include<helperFunctions>
#include<importanceSampling>
#include<pbrBRDFFunctions>
#include<hdrFilteringFunctions>
uniform float alphaG;uniform samplerCube inputTexture;uniform vec2 vFilteringInfo;uniform float hdrScale;varying vec3 direction;void main() {vec3 color=radiance(alphaG,inputTexture,direction,vFilteringInfo);gl_FragColor=vec4(color*hdrScale,1.0);}`;
// Sideeffect
if (!ShaderStore.ShadersStore[name]) {
    ShaderStore.ShadersStore[name] = shader;
}
const includes = [helperFunctions, importanceSampling, pbrBRDFFunctions, hdrFilteringFunctions];
for (const inc of includes) {
    if (!ShaderStore.IncludesShadersStore[inc.name]) {
        ShaderStore.IncludesShadersStore[inc.name] = inc.shader;
    }
}
/** @internal */
const hdrFilteringPixelShader = { name, shader };

export { hdrFilteringPixelShader };
//# sourceMappingURL=hdrFiltering.fragment-D61GFB7k.esm.js.map
