Objects can both cast and receive stencil shadows , so self - shadowing is inbuilt 物體既可以投射出陰影,也可以接受陰影,進(jìn)而這種技術(shù)可以對(duì)自投影具有良好的支持。
Where these shadow volumes intersect other objects ( or the caster , since self - shadowing is supported using this technique ) , the stencil is updated , allowing subsequent operations to differentiate between light and shadow 當(dāng)這個(gè)體積覆蓋了其他的物體的時(shí)候(包括投影體自身,進(jìn)而支持了自投影技術(shù)) ,這些被覆蓋的物體上面的模板緩存會(huì)被更新,在之后的操作中會(huì)根據(jù)這些模板緩存的結(jié)果來渲染光線和陰影。