fix [#28388] Clouds at high depth give artifacts.

http://projects.blender.org/tracker/download.php/9/498/28388/17476/screen_bad.png
This commit is contained in:
Campbell Barton
2011-08-28 02:04:40 +00:00
parent 752cb7485d
commit 4684df0830

View File

@@ -920,7 +920,7 @@ static float g[512+2][3]= {
t = vec[i] + 10000.; \
b0 = ((int)t) & 255; \
b1 = (b0+1) & 255; \
r0 = t - (int)t; \
r0 = t - floorf(t); \
r1 = r0 - 1.;