Sfoglia il codice sorgente

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

Lasse Öörni 9 anni fa
parent
commit
09845225b7
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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)
         out float oClip : SV_CLIPDISTANCE0,
     #endif
+    #ifdef INSTANCED
+        float4x3 iModelInstance : TEXCOORD4,
+    #endif
     out float4 oPos : OUTPOSITION)
 {
     float4x3 modelMatrix = iModelMatrix;