Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Volumetric Shadow Demo: Difference between revisions

From GameBrew
No edit summary
Line 49: Line 49:


==User guide==
==User guide==
===Initial setup===
===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 55: Line 55:
Do so in the frame before the frame you will draw the shadows. Usually, you would set this up when initializing the application and flush each frame with those settings.
Do so in the frame before the frame you will draw the shadows. Usually, you would set this up when initializing the application and flush each frame with those settings.


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===
===Render volumetric shadows===

Revision as of 08:14, 27 May 2021

Volumetric Shadow Demo
General
Author(s)Rob (silent_code, R.H.L.)
TypeDemo
Version1.60
LicenceMixed
Links
[Media:Vsd160ds.rar Download]
Website
[Media:Vsd160src.rar Source]
Advertisements

<htmlet>adsense</htmlet>

Advertising: