Lightgrid -1 reply

Please wait...

jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#1 10 years ago

[COLOR=Navy]Hi! I would like to ask, what is the lightgrid in the system? What does it do? [/COLOR]




iswer

Mapper, Modeller, Musician

50 XP

18th April 2004

0 Uploads

1,601 Posts

0 Threads

#2 10 years ago

Could you refrase that please? :/




stotto

The Internet ends at GF

50 XP

26th September 2002

0 Uploads

114 Posts

0 Threads

#3 10 years ago

I think he means the lightgrid shader in the system folder when using Radiant..?




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#4 10 years ago

[COLOR=Navy]Yes, i do...sorry to my composition... [/COLOR]




Szico VII

We want FF7-2/remake!

50 XP

14th September 2003

0 Uploads

1,683 Posts

0 Threads

#5 10 years ago

If you apply it, the lightgrid will oly be calculated for the areas within the brushes. The lightgrid is basically what calculates the lighting cast onto the player at various points - if you're in a green room, the player goes green. Same for vehicels nd the like. sometimes on big maps, especially ones with a lot of areas the player can't access, it frees up compile memory space to have the lightgrid calculated only or small areas within the map.




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#6 10 years ago

[COLOR=Navy]Thanks:D[/COLOR]




MagnaDoodle

Fear teh kittens!!!

50 XP

26th February 2008

0 Uploads

104 Posts

0 Threads

#7 10 years ago

Further I may add: It's generally recommended always to define the bounds of the lightgrid by enveloping the whole map with a brush using the system/lightgrid shader (unless used on special areas only as mentioned above). Otherwise it's stretched to the whole void resulting in less detail - Q3Map2 will just comment this as following in its bsp stage: 'Lightgrid bounds: { 99999.000000 99999.000000 99999.000000 } { -99999.000000 -99999.000000 -99999.000000 }' The lightgrid is generated based on the ambient lightning, point lights and/or light-emmiting shaders, alike the lightmap - but there are also possiblities to handle it more independently by the usage of lightJunior and/or the _mingridlight key in the worldspawn (btw, if not defined it's automatically set by the _minlight/ambient key). I assume this can also be achived by shaders effecting the lightgrid only... no clue atm. ;)




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#8 10 years ago

[COLOR=Navy]Ohh, thanks! I almost understand it!:D:D[/COLOR]