Depth Peeling
   HOME

TheInfoList



OR:

Depth peeling is a method of
order-independent transparency Order-independent transparency (OIT) is a class of techniques in rasterisational computer graphics for rendering transparency in a 3D scene, which do not require rendering geometry in sorted order for alpha compositing. Description Commonly, 3D g ...
. Depth peeling has the advantage of being able to generate correct results even for complex images containing intersecting transparent objects.


Method

Depth peeling works by rendering the image multiple times. Depth peeling uses two Z buffers, one that works conventionally, and one that is not modified, and sets the ''minimum'' distance at which a fragment can be drawn without being discarded. For each pass, the previous pass' conventional Z-buffer is used as the minimal Z-buffer, so each pass draws what was "behind" the previous pass. The resulting images can be combined to form a single image.


References

Computer graphics {{Compu-graphics-stub