소스 검색

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

(cherry picked from commit f1781fe9d1ec82cc9f78ecf0a8f6fa20e7114e46)
clayjohn 1 년 전
부모
커밋
a24347d041
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]
 #[specializations]
 
 
-DISABLE_LIGHTING = false
+DISABLE_LIGHTING = true
 USE_RGBA_SHADOWS = false
 USE_RGBA_SHADOWS = false
 SINGLE_INSTANCE = false
 SINGLE_INSTANCE = false