# | Line 84 | Line 84 | register RAY *r; | |
---|---|---|
84 | setcolor(mcolor, pow(m->oargs.farg[0], r->rot), | |
85 | pow(m->oargs.farg[1], r->rot), | |
86 | pow(m->oargs.farg[2], r->rot)); | |
87 | + | multcolor(mcolor, r->pcol); /* modify */ |
88 | } else { /* outside */ | |
89 | nratio = 1.0 / nratio; | |
90 | if (m->otype == MAT_INTERFACE) | |
# | Line 134 | Line 135 | register RAY *r; | |
135 | #endif | |
136 | { | |
137 | rayvalue(&p); | |
137 | – | multcolor(mcolor, r->pcol); /* modify */ |
138 | scalecolor(p.rcol, trans); | |
139 | addcolor(r->rcol, p.rcol); | |
140 | if (nratio >= 1.0-FTINY && nratio <= 1.0+FTINY) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |