Howto:Multi-channel lightmap: Difference between revisions

No edit summary
Line 327: Line 327:


fgdata/Shaders/model-interior-ALS-detailed.frag
fgdata/Shaders/model-interior-ALS-detailed.frag
== Additional reading ==
[http://www.science-and-fiction.org/rendering/glsl_10.html Scalar maps in GLSL] - the interior working of lightmaps explained with code examples.
[http://http://www.science-and-fiction.org/rendering/glsl_12.html Light intensity] - some context on the problem of correctly adding lights in the scene.
1,360

edits