0_. light effect, i never saw it before:

Fun and interesting screenshots and demos

Moderator: Nod_Nod_Nod

Post Reply
Message
Author
User avatar
sindarus
Marauder
Marauder
Posts: 442
Joined: Tue Jun 16, 2009 1:58 pm
Location: france/french

0_. light effect, i never saw it before:

#1 Post by sindarus » Sat Mar 05, 2011 12:03 pm

Is that really light effect or only good textures? :


Image

Image

Image
.
Image

User avatar
Quarko
Server supporter
Server supporter
Posts: 1227
Joined: Fri May 22, 2009 9:03 pm
Location: Kaunas, Lithuania

#2 Post by Quarko » Sat Mar 05, 2011 12:35 pm

That's called 'static lights'. When the map is built, it calculates all the light surfaces and makes something like "light textures" - a textures made of light that are put in various places all over the map. Then that 'textures' are saved inside the map.
This kind of lights/shadows are static - meaning they can't move, but they are enough to fulfill their purpose.

So generally, it is a light AND a texture :)

User avatar
Iltavuo
Server supporter
Server supporter
Posts: 176
Joined: Sun Mar 07, 2010 11:10 pm
Location: Finland
Contact:

#3 Post by Iltavuo » Sat Mar 05, 2011 1:02 pm

Those "light textures" are called lightmaps. Try using command /r_lightmap 1, which allows you to only see the lightmaps, textures aren't rendered(I think it's not even cheat protected in 1.1).

By default, the lightmaps have a low resolution( otherwise the .bsp file would be huge ). Something like 128x128. Now, while creating the map, the creator can give some surfaces higher resolution lightmaps when it's needed. Most map makers don't really take advantage of this feature, but the pictures that you posted are a good example of how it should be used.

User avatar
sindarus
Marauder
Marauder
Posts: 442
Joined: Tue Jun 16, 2009 1:58 pm
Location: france/french

#4 Post by sindarus » Sat Mar 05, 2011 11:32 pm

oh, thanks !
.
Image

Post Reply