Depth peeling

Depth peeling is a method of order-independent transparency. 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.[1] The twist is that 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.

gollark: You can probably get rid of quite a lot of those mods without affecting the pack much.
gollark: It's a simple joke mod which allows you to mine bitcoin ore, smelt it into blocks, craft those into blockchains, and then make coins from them, and burn them for RF.
gollark: See, usually, it's just based on how far you've gone down since being on a block, which is crazy.
gollark: It makes fall damage speed based.
gollark: ```cubic-chunkscubic-chunks-worldgencomputercraftplethora-peripheralstis-3dopencomputersvanillafixapplied-energistics-2botaniaautoreglibbitcoincofh-corecofh-worldredstone-fluxthermal-innovationthermal-foundationthermal-dynamicsthermal-expansionquarkpsibaublescodechicken-libworldeditmoar-boatsforgelinrandom-psideasimmersive-engineeringimmersive-petroleumalternating-fluximmersive-cablescapability-adaptercompact-machinesnuclearcraftportalitymekanismmekanism-generatorsrftools-powerrftoolsmcjtylibgregtech-ceskyblocksfoamfixbetterfpstinkers-constructplusticmantlejeispeed-based-fall-damageftb-libftb-utilitieswireless-utilitiesactually-additionscrafttweakerbetter-builders-wandsxaeros-minimaphwylactm```Mod names in basically no useful format, since I have a custom pack installer thing too.

References

  1. Everitt, Cass (2001-05-15). "Interactive Order-Independent Transparency" (PDF). Nvidia. Retrieved 2008-10-12.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.