Login  Register

Re: 2D Lighting Tribulations with Shaders

Posted by Demoscene Passivist on Aug 24, 2011; 11:03am
URL: https://forum.jogamp.org/2D-Lighting-Tribulations-with-Shaders-tp3279698p3280651.html

To get a concrete impression on how various standard shadowmapping techniques work with JOGL2 (with sourcecode) u may have a look at my blog:

- Simple fixed function pipeline "hard"-shadow mapping
- Fake "soft"-shadows using a mix of shaders and fixed function pipeline
- Completely GLSL based "hard"-shadowmapping
- Percentage closer filtering based "soft"-shadow mapping