fixed bug in 2c0d047ec0e4e31061e441099d28911e6db72c75: wrong scaling by translucency factor.

minor code edits.