// Global framebuffer configuration. This file is included by composite.fsh so
// Iris and OptiFine both discover each directive from a fragment program.
#ifndef NOISE_BUFFERS_GLSL
#define NOISE_BUFFERS_GLSL

// Keep format directives out of compiled GLSL. Iris preserves block comments
// while scanning directives, and OptiFine discovers them from the source text.
// This avoids Iris 1.10.x expanding dummy format macros to zero before parsing.
/*
const int colortex0Format = RGBA16F;
const int colortex3Format = R8;
const int colortex4Format = R8;
const int colortex5Format = RGBA16F;
const int colortex6Format = RGBA16F;
const int colortex7Format = RGBA16F;
const int shadowcolor0Format = RGBA8;
*/

// Temporal metadata, colour and depth/exposure history must survive the frame
// clear. colortex5 is also retained to preserve the authored frozen-scene
// behaviour even though deferred normally overwrites its active viewport.
const bool colortex4Clear = false;
const bool colortex5Clear = false;
const bool colortex6Clear = false;

// The shadow implementation performs its own depth comparisons and filtering.
const bool shadowtex0Nearest = true;
const bool shadowtex1Nearest = true;

#endif
