Fix: calculating localTranslation after gridChange
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7756 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ab9a2635a2
commit
0604418b3c
@ -25,7 +25,7 @@ vec4 GenerateTerrainColor() {
|
|||||||
float b = (blend.x + blend.y + blend.z);
|
float b = (blend.x + blend.y + blend.z);
|
||||||
blend /= vec3(b, b, b);
|
blend /= vec3(b, b, b);
|
||||||
|
|
||||||
vec4 terrainColor = vec4(0, 0, 0, 1.0);
|
vec4 terrainColor = vec4(0.0, 0.0, 0.0, 1.0);
|
||||||
|
|
||||||
float m_regionMin = 0.0;
|
float m_regionMin = 0.0;
|
||||||
float m_regionMax = 0.0;
|
float m_regionMax = 0.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user