These calculations are generally executed by shaders (that happen to be outlined by texture artists). A shader for glass, for instance, considers what elements are rendered behind the glass. Then only tints that shade https://liviagkew877853.blogsmine.com/29150418/3d-animation-an-overview