question: light map

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
CLOUDspawn
Posts: 46
Joined: Fri Feb 12, 2016 3:03 am

question: light map

Post by CLOUDspawn »

what is a light map? or a light image?
do i make it in photoshop? is it like an alpha channel?
I googled it a couple times and came up with nothing.
anybody know?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: question: light map

Post by obsidian »

https://en.wikipedia.org/wiki/Lightmap

In regards to Q3, they are automatically generated by the compiler Q3Map2, stored in the BSP file, and are subtractively filtered over the base texture.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
sst13
Posts: 298
Joined: Mon Feb 15, 2010 11:05 pm

Re: question: light map

Post by sst13 »

Texture only "fullbright" (r_fullbright 1; vid_restart)
[lvlshot]http://sst13.net/pics/13yard-fullbright2.jpg[/lvlshot]

+

Lightmap only (r_lightmap 1)
[lvlshot]http://sst13.net/pics/13yard-lightmap2.jpg[/lvlshot]

=

Textures & Lightmap combined
[lvlshot]http://sst13.net/pics/13yard-texture2.jpg[/lvlshot]


A Lightimage (shader related) is a simple texture. It's average color is used to generate the color of the light emitted by the shader surface.
[url=https://sst13.de]Q3A Maps - by sst13[/url]
[url=https://steamcommunity.com/id/_sst13_/myworkshopfiles]Quake Live Workshop[/url]
AEon
Posts: 1816
Joined: Sun Apr 20, 2003 7:00 am

Re: question: light map

Post by AEon »

Awesome demo shots to explain the effect of a lightmap... neat.
sst13
Posts: 298
Joined: Mon Feb 15, 2010 11:05 pm

Re: question: light map

Post by sst13 »

It's also possible to view vertex-light only with: "r_vertexlight 1; r_fullbright 1; vid_restart"
[url=https://sst13.de]Q3A Maps - by sst13[/url]
[url=https://steamcommunity.com/id/_sst13_/myworkshopfiles]Quake Live Workshop[/url]
Post Reply