Colored Fog Issues

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Colored Fog Issues

Re: Colored Fog Issues

by Graf Zahl » Wed Apr 25, 2012 1:13 am

Well, I'd say that this isn't a bug. Apparently some colors that differ more strongly from the fog don't get blended away completely. I guess if you used the same algorithm to draw fog boundaries with a true color renderer you'd see a very hazy image of the rest of the level so I'd write off the fact that most is indeed red, not to intent but to palette limitations.

In that case I think we can safely file this report under 'won't change'.

Re: Colored Fog Issues

by Gez » Wed Apr 25, 2012 12:57 am

It's very slight. With contrast increased thanks to the "color curves" tool in Gimp:
Spoiler:

Re: Colored Fog Issues

by Project Shadowcat » Tue Apr 24, 2012 10:49 pm

I see a couple of platforms in view 1.

Re: Colored Fog Issues

by randi » Tue Apr 24, 2012 10:42 pm

I can't see a difference between View 1 and View 2, even when I overlap them in Photoshop and use difference blending...

Re: Colored Fog Issues

by NeuralStunner » Tue Apr 24, 2012 9:51 pm

View 1:
Spoiler:
View 2:
Spoiler:
Might be another issue for 3dfloors3, not sure.

The "underwater" lighting was the one that really surprised me, honestly. But I guess it's emulating GZDoom's method? (I never did try comparing a Transfer_Heights.)

Re: Colored Fog Issues

by randi » Tue Apr 24, 2012 8:34 pm

2. I don't know that I want to try to fix this since (1) I didn't write the code and (2) there's a 3dfloors3 branch to finish that it probably wouldn't apply to anyway.
3. I can't see anything but red inside the red area. Am I supposed to be able to see something else?

Re: Colored Fog Issues

by Graf Zahl » Mon Apr 23, 2012 2:53 pm

1. is not a bug. Did you set the opacity of the fog? If not it's set to 50% which effectively makes the color 0x7f0000)

Colored Fog Issues

by NeuralStunner » Mon Apr 23, 2012 2:36 pm

Attached is an example map with a couple quasi-liquid 3D sectors (with steps in the bac so you can get out), and two darkened sectors. The "blood" side is given a bright red fade color, the "water" side uses default fading and is at 128 brightness. The rest of the map is fully bright.

Noted problems:
  1. When under the "blood", the sector fog should be bright red (0xFF0000). It's only half the correct color(0x7F0000).
  2. When under a 3D surface, you can see the red zone. (Limitation of software 3D floors I guess.)
  3. When inside the red area, it looks mostly correct, though the darker tones from the east sector will vanish if a 3D floor is in sight.
GZDoom has some different issues, which are posted in its forum.

Top