project-navigation
Personal tools

Author Topic: [FIXED] Still having some glowmap issues...  (Read 10029 times)

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Still having some glowmap issues...
« Reply #15 on: February 13, 2011, 06:15:36 pm »
Ok, I will work on fixing those issues. BTW, there is some other problem introduced -- some staged materials started to glow. I'll fix that too, so please delay applying this patch to master.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Still having some glowmap issues...
« Reply #16 on: February 13, 2011, 06:18:51 pm »
which map are you refering to with the staged materials? i've tested with "map day +alienb2" and there it looks fine (except those just posted issues)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Still having some glowmap issues...
« Reply #17 on: February 13, 2011, 06:23:38 pm »

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Still having some glowmap issues...
« Reply #18 on: February 13, 2011, 06:27:38 pm »
+city medium

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Still having some glowmap issues...
« Reply #19 on: February 14, 2011, 04:22:15 pm »
Oops! I didn't notice that shaders were switched off when lighting is disabled, and few other things. Now glowmaps are working for me, but patch is not as clean as I hoped.

Here it is:

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Still having some glowmap issues...
« Reply #20 on: February 14, 2011, 09:31:42 pm »
Great to see some movement here  ;)

& Hello Sandro & a warm WELCOME TO THE FORUMS !!!

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Still having some glowmap issues...
« Reply #21 on: February 14, 2011, 10:10:35 pm »
i've applied your fix now - thanks a lot

but ... ;)

the soldier markers and the box tracer are glowing - looks like the glowmap is active for R_DrawEntityEffects

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: [FIXED] Still having some glowmap issues...
« Reply #22 on: February 15, 2011, 01:30:16 pm »
First tests have shown that this problem is finally eliminated. Thanks a lot to all involved in fixing this.  :)  8)

Btw., somehow I like the glow of the soldier markers & the box tracer  :D

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: [FIXED] Still having some glowmap issues...
« Reply #23 on: February 15, 2011, 11:02:13 pm »
MCR, thanks! :)

Mattn, yes, there were few state leaks remaining. Hopefully, attached patch will plug all of those  ;) At least, I traced everything that is called from R_RenderFrame(), so it's supposed to be complete.
Still, glowing cursor box was niiice :) Maybe, reintroduce it as a feature? That's just a few lines of code.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [FIXED] Still having some glowmap issues...
« Reply #24 on: February 16, 2011, 06:54:24 pm »
i've applied it in the morning already - thanks a lot