import { H as ShaderStore } from './index-D9EJJo2H.esm.js';
import './helperFunctions-teDZUU2p.esm.js';
import './hdrFilteringFunctions-BUBe85en.esm.js';
import './pbrBRDFFunctions-DmnyhcL6.esm.js';

// Do not edit.
const name = "hdrIrradianceFilteringPixelShader";
const shader = `#include<helperFunctions>
#include<importanceSampling>
#include<pbrBRDFFunctions>
#include<hdrFilteringFunctions>
uniform samplerCube inputTexture;
#ifdef IBL_CDF_FILTERING
uniform sampler2D icdfTexture;
#endif
uniform vec2 vFilteringInfo;uniform float hdrScale;varying vec3 direction;void main() {vec3 color=irradiance(inputTexture,direction,vFilteringInfo,0.0,vec3(1.0),direction
#ifdef IBL_CDF_FILTERING
,icdfTexture
#endif
);gl_FragColor=vec4(color*hdrScale,1.0);}`;
// Sideeffect
if (!ShaderStore.ShadersStore[name]) {
    ShaderStore.ShadersStore[name] = shader;
}
/** @internal */
const hdrIrradianceFilteringPixelShader = { name, shader };

export { hdrIrradianceFilteringPixelShader };
//# sourceMappingURL=hdrIrradianceFiltering.fragment-DW22Zn3E.esm.js.map
