declare const _default: "\n var ssaoTexture: texture_2d;\n var ssaoTextureSampler: sampler;\n\n // Global variable for debug\n var dSsao: f32;\n\n fn applySsao(color: vec3f, uv: vec2f) -> vec3f {\n\n // in the lighting mode the lit shaders apply the occlusion as the scene renders, and it is\n // sampled here for the debug view only\n #ifdef SSAO_LIGHTING\n #if DEBUG_COMPOSE == ssao\n dSsao = textureSampleLevel(ssaoTexture, ssaoTextureSampler, uv, 0.0).r;\n #endif\n return color;\n #else\n dSsao = textureSampleLevel(ssaoTexture, ssaoTextureSampler, uv, 0.0).r;\n return color * dSsao;\n #endif\n }\n\n // the 'ssao' debug view, displaying the occlusion\n fn debugSsao() -> vec3f {\n return vec3f(dSsao);\n }\n"; export default _default;