Skip to content

Commit

Permalink
Close #15
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjglgamedev committed Jun 15, 2024
1 parent fecc915 commit b137596
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chapter-15/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void main()
initTangent += weight * tmpTangent;

vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent;
initBitangent += weight * tmpBitangent;
}
}
if (count == 0) {
Expand Down
2 changes: 1 addition & 1 deletion chapter-16/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void main()
initTangent += weight * tmpTangent;

vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent;
initBitangent += weight * tmpBitangent;
}
}
if (count == 0) {
Expand Down
2 changes: 1 addition & 1 deletion chapter-17/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void main()
initTangent += weight * tmpTangent;

vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent;
initBitangent += weight * tmpBitangent;
}
}
if (count == 0) {
Expand Down
2 changes: 1 addition & 1 deletion chapter-18/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void main()
initTangent += weight * tmpTangent;

vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent;
initBitangent += weight * tmpBitangent;
}
}
if (count == 0) {
Expand Down
2 changes: 1 addition & 1 deletion chapter-19/resources/shaders/scene.vert
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void main()
initTangent += weight * tmpTangent;

vec4 tmpBitangent = bonesMatrices[boneIndex] * vec4(bitangent, 0.0);
initTangent += weight * tmpBitangent;
initBitangent += weight * tmpBitangent;
}
}
if (count == 0) {
Expand Down

0 comments on commit b137596

Please sign in to comment.