Files
2026-04-20 20:40:56 +02:00

160 lines
3.4 KiB
JSON

{
"unusedString": "
#include "/lib/settings.glsl"
#include "/lib/res_params.glsl"
",
"version": 1,
"opaqueDrawBuffers": [1, 8],
"excludeLodsFromVanillaDepth": true,
"translucentDrawBuffers": [16, 7, 11, 14],
#ifdef TAA
"taaOffset": "{
const vec2[4] offsets = vec2[4](
vec2(-0.125, -0.875),
vec2( 0.875, -0.125),
vec2( 0.125, 0.875),
vec2(-0.875, 0.125)
);
return offsets[framemod4_DH]*texelSize;
}",
#endif
#ifdef TAA_UPSCALING
"renderScale": [SCALE_FACTOR, SCALE_FACTOR],
#endif
"blending": {-1:"SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE", 2:"off"},
"ssbos": {4:"{
mat4 customShadowMatrixSSBO;
#ifdef PHOTONICS
mat4 customShadowMatrixInverseSSBO;
#endif
vec3 customMoonVecSSBO;
vec3 customMoonVec2SSBO;
mat4 customShadowPerspectiveSSBO;
vec3 customSunVecSSBO;
#if IRIS_VERSION < 11004
bool onWaterSurface;
bool inBoatCurrentFrame;
bool inBoatLastFrame;
bool inShipCurrentFrame;
bool inShipLastFrame;
#endif
float waterRoundSize;
float lastFrameTimeCount;
vec3 previousCameraPositionWave;
vec3 previousCameraPositionWave2;
bool noSimOngoing;
bool noSimOngoingCheck;
ivec2 water_move_compensationSSBO;
vec2 water_move_compensation_counter_SSBO;
vec2 SC_smallCumulus;
vec2 SC_largeCumulus;
vec2 SC_altostratus;
vec2 SC_cirrus;
vec2 SC_fog;
vec3 sunColorSSBO;
vec3 moonColorSSBO;
vec3 lightSourceColorSSBO;
vec3 averageSkyColSSBO;
vec3 averageSkyCol_CloudsSSBO;
vec3 skyGroundColSSBO;
vec3 albedoSmoothSSBO;
float avgBrightnessSSBO;
float avgL2SSBO;
float exposureSSBO;
vec2 rodExposureDepthSSBO;
}"},
"useViewportDims": true,
"uniforms": [
"viewWidth",
"viewHeight",
"nightVision",
"cloudTime",
"noPuddleAreas",
"dhVoxyRenderDistance",
"worldDay",
"worldTime",
"moonElevation",
"worldTimeSmooth",
#if CUMULONIMBUS == 1
"cumulonimbusStrength",
#endif
"framemod4_DH",
"vxModelView",
"vxModelViewPrev",
"vxModelViewInv",
"frameCounter",
"framemod8",
"dhVoxyFarPlane",
"dhVoxyNearPlane",
"vxProj",
"vxProjInv",
"vxProjPrev",
"gbufferModelView",
"gbufferModelViewInverse",
"gbufferProjection",
"gbufferProjectionInverse",
"gbufferPreviousModelView",
"gbufferPreviousProjection",
"shadowModelView",
"shadowModelViewInverse",
"shadowProjection",
"shadowProjectionInverse",
"cameraPosition",
"previousCameraPosition",
"near",
"far",
"frameTimeCounter",
"texelSize",
"sunPosition",
"sunElevation",
"lightningBoltPosition",
"thunderStrength",
"rainStrength",
"unsigned_WsunVecSmooth",
"unsigned_WmoonVecSmooth",
"isEyeInWater"
],
"samplers": [
"vxDepthTexOpaque",
"noisetex",
"colortex4",
"colortex5",
"depthtex0",
"depthtex1"
]
}