# | Line 280 | Line 280 | m_normal( /* color a ray that hit something normal * | |
---|---|---|
280 | if (m->otype != MAT_METAL) { | |
281 | setcolor(nd.scolor, nd.rspec, nd.rspec, nd.rspec); | |
282 | } else if (fest > FTINY) { | |
283 | < | d = nd.rspec*(1. - fest); |
283 | > | d = m->oargs.farg[3]*(1. - fest); |
284 | for (i = 0; i < 3; i++) | |
285 | nd.scolor[i] = fest + nd.mcolor[i]*d; | |
286 | } else { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |