diff --git a/shaders/world-1/shadow.vsh b/shaders/world-1/shadow.vsh index f15b937..3eaf7ac 100644 --- a/shaders/world-1/shadow.vsh +++ b/shaders/world-1/shadow.vsh @@ -1,8 +1,10 @@ #version 120 -#extension GL_ARB_explicit_attrib_location: enable -#extension GL_ARB_shader_image_load_store: enable - #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 diff --git a/shaders/world0/shadow.vsh b/shaders/world0/shadow.vsh index 4dba02f..7c0970e 100644 --- a/shaders/world0/shadow.vsh +++ b/shaders/world0/shadow.vsh @@ -3,6 +3,7 @@ #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 diff --git a/shaders/world1/shadow.vsh b/shaders/world1/shadow.vsh index f15b937..3eaf7ac 100644 --- a/shaders/world1/shadow.vsh +++ b/shaders/world1/shadow.vsh @@ -1,8 +1,10 @@ #version 120 -#extension GL_ARB_explicit_attrib_location: enable -#extension GL_ARB_shader_image_load_store: enable - #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