mirror of https://github.com/xemu-project/xemu.git
vsh: Fix skinning mode order
This commit is contained in:
parent
0f39a2cc76
commit
f3b7fefde4
|
@ -372,14 +372,14 @@ GLSL_DEFINE(sceneAmbientColor, GLSL_LTCTXA(NV_IGRAPH_XF_LTCTXA_FR_AMB) ".xyz")
|
|||
mix = false; count = 0; break;
|
||||
case SKINNING_1WEIGHTS:
|
||||
mix = true; count = 2; break;
|
||||
case SKINNING_2WEIGHTS:
|
||||
mix = true; count = 3; break;
|
||||
case SKINNING_3WEIGHTS:
|
||||
mix = true; count = 4; break;
|
||||
case SKINNING_2WEIGHTS2MATRICES:
|
||||
mix = false; count = 2; break;
|
||||
case SKINNING_2WEIGHTS:
|
||||
mix = true; count = 3; break;
|
||||
case SKINNING_3WEIGHTS3MATRICES:
|
||||
mix = false; count = 3; break;
|
||||
case SKINNING_3WEIGHTS:
|
||||
mix = true; count = 4; break;
|
||||
case SKINNING_4WEIGHTS4MATRICES:
|
||||
mix = false; count = 4; break;
|
||||
default:
|
||||
|
|
|
@ -63,10 +63,10 @@ enum VshFoggen {
|
|||
enum VshSkinning {
|
||||
SKINNING_OFF,
|
||||
SKINNING_1WEIGHTS,
|
||||
SKINNING_2WEIGHTS,
|
||||
SKINNING_3WEIGHTS,
|
||||
SKINNING_2WEIGHTS2MATRICES,
|
||||
SKINNING_2WEIGHTS,
|
||||
SKINNING_3WEIGHTS3MATRICES,
|
||||
SKINNING_3WEIGHTS,
|
||||
SKINNING_4WEIGHTS4MATRICES,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue