Volumetric Shadow Demo: Difference between revisions
From GameBrew
More actions
No edit summary |
No edit summary |
||
| Line 49: | Line 49: | ||
==User guide== | ==User guide== | ||
===Initialization=== | |||
Prepare the hardware by setting the flush mode to manual and w-depth sorting with: | Prepare the hardware by setting the flush mode to manual and w-depth sorting with: | ||
glFlush(GL_TRANS_MANUALSORT | GL_WBUFFERING); | glFlush(GL_TRANS_MANUALSORT | GL_WBUFFERING); | ||
| Line 58: | Line 57: | ||
You might need to sort your translutient polygons/meshes. Remember, that certain volumetric shadow geometry configurations will cause artifacts. | You might need to sort your translutient polygons/meshes. Remember, that certain volumetric shadow geometry configurations will cause artifacts. | ||
===Render volumetric shadows=== | |||
These are the three basic steps you need to follow to render volumetric shadows. | These are the three basic steps you need to follow to render volumetric shadows. | ||
Revision as of 08:31, 27 May 2021
| Volumetric Shadow Demo | |
| General | |
|---|---|
| Author(s) | Rob (silent_code, R.H.L.) |
| Type | Demo |
| Version | 1.60 |
| Licence | Mixed |
| Links | |
| [Media:Vsd160ds.rar Download] | |
| Website | |
| [Media:Vsd160src.rar Source] | |
<htmlet>adsense</htmlet>