See what's going on with flipcode!




 


Submitted by , posted on 11 December 2002



Image Description, by


Hello coders, Here is a screenshot of my very last work: real time quite high quality soft shadows on geforce class hardware, using no extensions.

Basically it is based on motion blurred shadows. I do so to be able to display many shadow volumes at the same time:
  • do not glclear alpha, do not use alpha for blending. Alpha is for shadows, nothing else, nah!
  • display shadow in alpha using the usual stencil volume
  • motion blur alpha
  • display quad as usually, using alpha buffer instead of stencil buffer
  • Other screenshots on my web site at:
    http://tfpsly.planet-d.net/img/3d/Screenshots/SoftShadows/

    A demo can be downloaded at http://tfpsly.planet-d.net/Files/demo.zip



    [prev]
    Image of the Day Gallery
    www.flipcode.com

    [next]


     


    Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
    Please read our Terms, Conditions, and Privacy information.