project-navigation
Personal tools

Author Topic: Missing gfx features in v2.4. (compared to v2.1 of the game)  (Read 7904 times)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Missing gfx features in v2.4. (compared to v2.1 of the game)
« Reply #15 on: November 27, 2010, 09:36:56 am »
The problem I had with the shadows was due to a wrong lightmap scale setting.
After reducing the lightmap scale light & shadow on the maps are back.  8)




Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Missing gfx features in v2.4. (compared to v2.1 of the game)
« Reply #16 on: November 27, 2010, 09:52:17 am »

On farm map the firebird does have a shadow while the ufo lack the shadow


I also noticed that on some maps, like africa or farm for example, the small ufos (fighter, scout) do not generate any shadows, while on other maps they do. So some small bug with the shadows remains...

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Missing gfx features in v2.4. (compared to v2.1 of the game)
« Reply #17 on: November 27, 2010, 10:01:28 am »
I'm not sure if any of us know technically what it does, but in the end it produces much sharper shadow lines. If you look at the shadows closely, you will see that an angled shadow line comes out in small squares (like pixels). Lower quant reduces the size of these boxes to produce cleaner shadow lines. It's not the difference between "blurry" and sharp, but about straight or broken into little squares.

Mattn was playing with the default -quant setting recently, but I don't know where he left it. Small quant values (such as 2) resulted in map compiling errors for some maps (max lightmap). Quant 2 is tons better than 3 and in my opinion our goal should be to support it, but I'm not sure anyone knows a good way to get there. I was told increasing lightmap size is not a good idea.

IMHO we should use the setting, which produces the best visual quality for the map compilation. Enhanced visual quality on the battlescape in the end results in getting a better atmosphere & also would justify even longer map compiling times.
Great to see that there are experiments regarding this undertaken already...

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Missing gfx features in v2.4. (compared to v2.1 of the game)
« Reply #18 on: November 27, 2010, 11:56:17 am »
I also noticed that on some maps, like africa or farm for example, the small ufos (fighter, scout) do not generate any shadows, while on other maps they do. So some small bug with the shadows remains...

This is probably because they lack noclip or lightclip brushes (models do not cast shadows by default, so we must add hidden brushes that cast shadows). If you can make a list and add it as a bug report on sf that will help.