with displacement baking, white should be high

This commit is contained in:
Campbell Barton
2008-03-29 15:16:33 +00:00
parent 8960f53676
commit 73ca8a6fbf

View File

@@ -2217,7 +2217,7 @@ static void do_bake_shade(void *handle, int x, int y, float u, float v)
}
if (hit && bs->type==RE_BAKE_DISPLACEMENT) {;
bake_displacement(handle, shi, (dir==-1)? -mindist:mindist, x, y);
bake_displacement(handle, shi, (dir==-1)? mindist:-mindist, x, y);
return;
}