// MinecraftPT — Custom resource declarations // The shader loader auto-declares standard uniforms, colortex/depthtex/shadowcolor // samplers, noisetex and tex. This file only declares CUSTOM samplers and images // (bound via shaders.properties customTexture / image declarations). #ifndef UNIFORM_DECLARE_GLSL #define UNIFORM_DECLARE_GLSL // Custom textures (from customTexture.* in shaders.properties) uniform sampler2D atlas2D; uniform sampler2D atlasSpecular2D; uniform sampler3D CloudNoise3D; uniform sampler3D CloudDetailedNoise3D; uniform sampler2D ripple2D; // Custom image samplers (from image.img_* in shaders.properties) uniform sampler3D voxelData3D; uniform sampler2D skyBox2D; uniform sampler2D prevDepth2D; uniform sampler2D rtwImportance2D; uniform sampler2D rtwWarp1D; uniform sampler2D pixelData2D; // Custom image bindings (write access) layout(rgba16) uniform writeonly image3D img_voxelData3D; layout(rgba16f) uniform writeonly image3D img_irradianceCache3D; layout(rgba16f) uniform writeonly image3D img_irradianceCache3D_Alt; layout(rgba16f) uniform writeonly image2D img_skyBox2D; layout(r32f) uniform writeonly image2D img_prevDepth2D; layout(r32f) uniform writeonly image2D img_rtwImportance2D; layout(rg16) uniform writeonly image2D img_rtwWarp1D; layout(rg16f) uniform writeonly image2D img_pixelData2D; #endif