Explorar el Código

SSR : Fix Direct X shader compilation for steam

TothBenoit hace 1 año
padre
commit
8cd877e14d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hrt/prefab/rfx/SSR.hx

+ 1 - 1
hrt/prefab/rfx/SSR.hx

@@ -91,7 +91,7 @@ class SSRShader extends h3d.shader.ScreenShader {
 			}
 			else {
 				do {
-					var result = bVec4(false);
+					var result = bVec4(false, false, false, false);
 					@unroll
 					for ( i in 0...4 ) {
 						var positionTo = getViewPos(uv);