Fix shader pass removing

This commit is contained in:
unknown 2018-01-02 17:03:20 +01:00
parent d59157d4fd
commit fa583dc361
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,9 @@
uniform sampler2D shadowMap;
uniform samplerCube shadowMapCube;
// uniform sampler2DShadow shadowMap;
// uniform samplerCubeShadow shadowMapCube;
#ifdef _CSM
uniform vec4 casData[shadowmapCascades * 4 + 4];
#endif

View file

@ -24,6 +24,7 @@ def reset():
global shaders
global shaders_last
global shader_datas
global shader_passes
global shader_cons
assets = []
khafile_defs_last = khafile_defs