vsh: Fix skinning mode order

This commit is contained in:
Jannik Vogel 2019-02-18 22:59:41 +01:00 committed by mborgerson
parent 0f39a2cc76
commit f3b7fefde4
2 changed files with 6 additions and 6 deletions

View File

@ -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:

View File

@ -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,
};