diff options
author | Erik Reckase <e.reckase@gmail.com> | 2010-12-29 20:49:22 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:14 -0500 |
commit | 897e550a72d545f5f10b14e83bb559425d17b633 (patch) | |
tree | f2d2c1c0a7dc5d4366dded9cc00da224a795536d | |
parent | 41720ed7cbfc4332d37ccac90871fe7a1d7e53e6 (diff) | |
download | pucket-897e550a72d545f5f10b14e83bb559425d17b633.tar.gz pucket-897e550a72d545f5f10b14e83bb559425d17b633.tar.bz2 pucket-897e550a72d545f5f10b14e83bb559425d17b633.zip |
now multiplies the count by the opacity to allow xform opacity to affect DE filter width
git-svn-id: https://flam3.googlecode.com/svn/trunk@148 77852712-ef1d-11de-8684-7d64432d61a3
-rw-r--r-- | src/rect.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -461,7 +461,7 @@ static void iter_thread(void *fth) { bump_no_overflow(b[0][1], logvis*ficp->dmap[color_index0].color[1]); bump_no_overflow(b[0][2], logvis*ficp->dmap[color_index0].color[2]); bump_no_overflow(b[0][3], logvis*ficp->dmap[color_index0].color[3]); - bump_no_overflow(b[0][4], 255.0); + bump_no_overflow(b[0][4], logvis*255.0); #else dbl_index0 = p[2] * CMAP_SIZE; color_index0 = (int) (dbl_index0); @@ -506,7 +506,7 @@ static void iter_thread(void *fth) { bump_no_overflow(b[0][1], logvis*interpcolor[1]); bump_no_overflow(b[0][2], logvis*interpcolor[2]); bump_no_overflow(b[0][3], logvis*interpcolor[3]); - bump_no_overflow(b[0][4], 255.0); + bump_no_overflow(b[0][4], logvis*255.0); } #endif |