Explorar o código

- Fix missing vertex inputs variables for shadow rendering

ShiroSmith %!s(int64=7) %!d(string=hai) anos
pai
achega
46eeea8a67
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hxsl/Dce.hx

+ 1 - 0
hxsl/Dce.hx

@@ -93,6 +93,7 @@ class Dce {
 
 		for( v in used ) {
 			if( v.used ) continue;
+			if( v.v.kind == VarKind.Input) continue;
 			vertex.vars.remove(v.v);
 			fragment.vars.remove(v.v);
 		}