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 f1781fe9d1
)
This commit is contained in:
parent
5dfaec5c29
commit
a24347d041
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue