>>650
Direct3D標準だと、頂点当たり
boneIndexがint8 x 4、
boneWeightがfloat x 4(実際は3だが)
これを直接PixelShaderに渡して、パレットカラーサンプリングに
利用して表示するというのはどうだ?


sampler g_spPaletteTable;

float4 pixel_main( const in float4 boneIndeces, const in float4 boneWeights)
{
float4 color = 0.xxxx;

for( int_i = 0; i < 4; i++)
color += tex1D( g_spPaletteTable, boneIndeces[i]) * boneWeights[i];

return color;
}