Merge pull request #254 from Null-MC/floodfill.shadow-ext-fix

FloodFill shadow extension fix
This commit is contained in:
Xonk 2024-07-23 15:40:57 -04:00 committed by GitHub
commit 23c2ea5b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View File

@ -1,8 +1,10 @@
#version 120 #version 120
#extension GL_ARB_explicit_attrib_location: enable
#extension GL_ARB_shader_image_load_store: enable
#include "/lib/settings.glsl" #include "/lib/settings.glsl"
#ifdef IS_LPV_ENABLED
#extension GL_ARB_explicit_attrib_location: enable
#extension GL_ARB_shader_image_load_store: enable
#extension GL_ARB_shading_language_packing : enable
#endif
#define RENDER_SHADOW #define RENDER_SHADOW

View File

@ -3,6 +3,7 @@
#ifdef IS_LPV_ENABLED #ifdef IS_LPV_ENABLED
#extension GL_ARB_explicit_attrib_location: enable #extension GL_ARB_explicit_attrib_location: enable
#extension GL_ARB_shader_image_load_store: enable #extension GL_ARB_shader_image_load_store: enable
#extension GL_ARB_shading_language_packing : enable
#endif #endif
#define RENDER_SHADOW #define RENDER_SHADOW

View File

@ -1,8 +1,10 @@
#version 120 #version 120
#extension GL_ARB_explicit_attrib_location: enable
#extension GL_ARB_shader_image_load_store: enable
#include "/lib/settings.glsl" #include "/lib/settings.glsl"
#ifdef IS_LPV_ENABLED
#extension GL_ARB_explicit_attrib_location: enable
#extension GL_ARB_shader_image_load_store: enable
#extension GL_ARB_shading_language_packing : enable
#endif
#define RENDER_SHADOW #define RENDER_SHADOW