Browse Source

Significantly improve the speed of shader compilation in compatibility backend

Compile the unlit version by default to save on both cache size and compile time
clayjohn 1 year ago
parent
commit
f1781fe9d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gles3/shaders/canvas.glsl

+ 1 - 1
drivers/gles3/shaders/canvas.glsl

@@ -9,7 +9,7 @@ mode_instanced = #define USE_ATTRIBUTES \n#define USE_INSTANCING
 
 #[specializations]
 
-DISABLE_LIGHTING = false
+DISABLE_LIGHTING = true
 USE_RGBA_SHADOWS = false
 SINGLE_INSTANCE = false