* Fixed issue with WorldMatrixInverse uniform binding being incorrect (thanks survivor)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
2cbbfaa3b9
commit
7a7b2c3f5f
@ -376,7 +376,7 @@ public class RenderManager {
|
|||||||
u.setValue(VarType.Matrix4, tempMat4);
|
u.setValue(VarType.Matrix4, tempMat4);
|
||||||
break;
|
break;
|
||||||
case WorldMatrixInverse:
|
case WorldMatrixInverse:
|
||||||
tempMat4.multLocal(worldMatrix);
|
tempMat4.set(worldMatrix);
|
||||||
tempMat4.invertLocal();
|
tempMat4.invertLocal();
|
||||||
u.setValue(VarType.Matrix4, tempMat4);
|
u.setValue(VarType.Matrix4, tempMat4);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user