Skip to content

Commit

Permalink
Tests|GLSandbox: Shader tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 13, 2014
1 parent 1631ef4 commit a894970
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/tests/test_glsandbox/testwindow.cpp
Expand Up @@ -254,10 +254,10 @@ DENG2_OBSERVES(Bank, Load)

"void main(void) {\n"
" highp mat4 bone =\n"
" uBoneMatrices[int(aBoneIDs.x)] * aBoneWeights.x + \n"
" uBoneMatrices[int(aBoneIDs.y)] * aBoneWeights.y + \n"
" uBoneMatrices[int(aBoneIDs.z)] * aBoneWeights.z + \n"
" uBoneMatrices[int(aBoneIDs.w)] * aBoneWeights.w;\n"
" uBoneMatrices[int(aBoneIDs.x + 0.5)] * aBoneWeights.x + \n"
" uBoneMatrices[int(aBoneIDs.y + 0.5)] * aBoneWeights.y + \n"
" uBoneMatrices[int(aBoneIDs.z + 0.5)] * aBoneWeights.z + \n"
" uBoneMatrices[int(aBoneIDs.w + 0.5)] * aBoneWeights.w;\n"
" highp vec4 modelPos = bone * aVertex;\n"
" gl_Position = uMvpMatrix * modelPos;\n"
" vUV = aUV;\n"
Expand Down

0 comments on commit a894970

Please sign in to comment.