Additive and fog

Started by FuZzy1 mapper
19 Jan 2016, 15:54
Page 1 of 1
19 Jan 2016, 15:54

I see anything with additive render is not affected by env_fog. Any way to fix this?

19 Jan 2016, 16:09

do you run the map in OpenGL mode?

19 Jan 2016, 16:22

Yes... Who doesn't?

19 Jan 2016, 19:12

Originally posted by FuZzy1
Yes... Who doesn't?

Lol, true, whats your env_fog settings in .fgd ?

19 Jan 2016, 20:31

@PointClass base(Targetname) iconsprite("sprites/CS/envfog.spr") = env_fog : "Global Fog Properties"
[
density(string) : "Density" : "0.0015"
rendercolor(color255) : "Fog Color (R G B)" : "255 255 255"
spawnflags(flags) =
[
1 : "Start active" : 0
]
]

19 Jan 2016, 20:34

Originally posted by FuZzy1
I see anything with additive render is not affected by env_fog. Any way to fix this?


Depends on what kind of effect you are trying to achieve.
I wouldn't use additive with fog for some significant stuff because of the glowing render nature.

And fgd does not affect anything in compilation nor bsp, as long as it provides to proper default entries in VHE

19 Jan 2016, 22:35

the openGL fog feature still sucks in the goldsource engine there isnt a good alternative.

19 Jan 2016, 22:45

Thanks guys, i'll make some architecture changes and it should be fine in my case.

Page 1 of 1

Reply

Please log in to post replies.