mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-10 04:53:07 +08:00
Fix compile error with photonics and cumulonimbus clouds
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user