Fix compile error with photonics and cumulonimbus clouds

This commit is contained in:
Merlin1809
2026-02-21 05:13:41 +01:00
parent dac7baa85e
commit c76e914b3d
4 changed files with 8 additions and 14 deletions
-5
View File
@@ -3,11 +3,6 @@
#extension GL_ARB_shading_language_packing: enable
#endif
#if defined CUMULONIMBUS_LIGHTNING && CUMULONIMBUS > 0 && defined OVERWORLD_SHADER && defined COLORWHEEL
#extension GL_NV_gpu_shader5 : enable
#extension GL_ARB_shader_image_load_store : enable
#endif
#include "/lib/settings.glsl"
#include "/lib/SSBOs.glsl"
+4
View File
@@ -34,6 +34,10 @@ uniform sampler2D colortex7;
uniform sampler2D colortex10;
uniform sampler2D colortex14;
#if defined CUMULONIMBUS_LIGHTNING && CUMULONIMBUS > 0
layout (rgba16f) uniform image2D cloudDepthTex;
#endif
in DATA {
flat vec3 WsunVec;
flat vec3 WrealSunVec;
+4
View File
@@ -107,6 +107,10 @@ uniform float sunElevation;
uniform int worldDay;
#endif
#if defined CUMULONIMBUS_LIGHTNING && CUMULONIMBUS > 0
layout (rgba16f) uniform image2D cloudDepthTex;
#endif
#include "/lib/waterBump.glsl"
#include "/lib/res_params.glsl"