Browse Source

Fix instancing texcoord in the PBR HLSL shader.

Lasse Öörni 9 years ago
parent
commit
88acae8c77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/CoreData/Shaders/HLSL/PBRLitSolid.hlsl

+ 1 - 1
bin/CoreData/Shaders/HLSL/PBRLitSolid.hlsl

@@ -29,7 +29,7 @@ void VS(float4 iPos : POSITION,
         int4 iBlendIndices : BLENDINDICES,
     #endif
     #ifdef INSTANCED
-        float4x3 iModelInstance : TEXCOORD2,
+        float4x3 iModelInstance : TEXCOORD4,
     #endif
     #if defined(BILLBOARD) || defined(DIRBILLBOARD)
         float2 iSize : TEXCOORD1,