|
@@ -1,3 +1,4 @@
|
|
|
|
|
+#ifdef SKINNED
|
|
|
float4x3 GetSkinMatrix(float4 blendWeights, int4 blendIndices)
|
|
float4x3 GetSkinMatrix(float4 blendWeights, int4 blendIndices)
|
|
|
{
|
|
{
|
|
|
return cSkinMatrices[blendIndices.x] * blendWeights.x +
|
|
return cSkinMatrices[blendIndices.x] * blendWeights.x +
|
|
@@ -5,6 +6,7 @@ float4x3 GetSkinMatrix(float4 blendWeights, int4 blendIndices)
|
|
|
cSkinMatrices[blendIndices.z] * blendWeights.z +
|
|
cSkinMatrices[blendIndices.z] * blendWeights.z +
|
|
|
cSkinMatrices[blendIndices.w] * blendWeights.w;
|
|
cSkinMatrices[blendIndices.w] * blendWeights.w;
|
|
|
}
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
float2 GetTexCoord(float2 iTexCoord)
|
|
float2 GetTexCoord(float2 iTexCoord)
|
|
|
{
|
|
{
|