Explorar el Código

Merge remote-tracking branch 'tungsteen/shaders-merge'

Lasse Öörni hace 9 años
padre
commit
09845225b7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      bin/CoreData/Shaders/HLSL/Water.hlsl

+ 3 - 0
bin/CoreData/Shaders/HLSL/Water.hlsl

@@ -44,6 +44,9 @@ void VS(float4 iPos : POSITION,
     #if defined(D3D11) && defined(CLIPPLANE)
     #if defined(D3D11) && defined(CLIPPLANE)
         out float oClip : SV_CLIPDISTANCE0,
         out float oClip : SV_CLIPDISTANCE0,
     #endif
     #endif
+    #ifdef INSTANCED
+        float4x3 iModelInstance : TEXCOORD4,
+    #endif
     out float4 oPos : OUTPOSITION)
     out float4 oPos : OUTPOSITION)
 {
 {
     float4x3 modelMatrix = iModelMatrix;
     float4x3 modelMatrix = iModelMatrix;