PDA

View Full Version : glSlang Lightmapper



WILL
27-02-2005, 12:00 AM
Shadow3D has released another demo, this one showing how to use lightmap-effects with use of glSlang. A video card that supports glSlang is required.

<center>http://shadow3d.delphigl.com/glslang1.jpg</center>

Get the demo at shadow3d.delphigl.com ('http://shadow3d.delphigl.com/esources.php#glslang1')!

Sascha Willems
27-02-2005, 10:24 AM
Although it looks nice this is not a glSlang-Lightmapper! Lightmapping means static lighting where you render the light-intensity at the texels into textures and just texture them on the scene via multi-texturing.

This demo "just" shows how to implement dynamic per-pixel-lighting (with a very basic light model, there are more sophisticated ones like blinn/phong, see e.g. the page of Humus (http://www.humus.ca)) with glSlang, so maybe shadow should rename that one ;)