Fog?
Fog?
I've noticed in the cmap files there is fog options, do these actually work?
Re: Fog?
ok ta
I'll probably get away with lights, I have a short exterior scene which needs dark areas were the player can't go
I'll probably get away with lights, I have a short exterior scene which needs dark areas were the player can't go
Re: Fog?
Faking it might be an option, using appropriately made translucent textures that are put on Bezier Patches or brushes with otherwise invisible sides.
Best regards,
Carsten
Carsten
Re: Fog?
I was going to try that with light rays through a window, like this:
https://www.youtube.com/watch?v=Zafmx3GjNhM
I've used this in rendered images, but usually in the distance
https://www.youtube.com/watch?v=Zafmx3GjNhM
I've used this in rendered images, but usually in the distance
Re: Fog?
So far I have:
I can't get a white glow and maintain the transparency
here's the simple texture
I can't get a white glow and maintain the transparency
here's the simple texture
Re: Fog?
my wild guess was something long the lines:
I came up with that looking at decals, I'm guessing its " blendFunc zero one_minus_src_color" which is probably not right?
Code: Select all
"rays"
{
diffusemap /Textures/rays/rays.png
//lumamap /Textures/rays/rays_inv.png
ambientMask d
alphaTest .8
LightShader none1234
noDynLight
noShadows
blendFunc zero one_minus_src_color
meta_editorSave
}
I came up with that looking at decals, I'm guessing its " blendFunc zero one_minus_src_color" which is probably not right?
Re: Fog?
arfur9 wrote:I came up with that looking at decals, I'm guessing its " blendFunc zero one_minus_src_color" which is probably not right?
Yes, I think so.
blendFunc zero one_minus_src_color
can work well – if you have the proper texture for it, which must be specially colored (see some of the related decals for examples).blendFunc src_alpha one_minus_src_alpha
is what is normally used for translucent surfaces, see e.g. Games/DeathMatch/Materials/liquids.cmat for examples. I think that this is the one that I'd use or at least consider as the most promising candidate.blendFunc one one
might work with (very dark-grey) fog textures as well. The fog might be glowing a bit. 
Best regards,
Carsten
Carsten
Re: Fog?
Thank you the last one did it (blendFunc one one ) 
I might need to stop the back faces showing but its getting there
This is my "test stuff" level lol

I might need to stop the back faces showing but its getting there

This is my "test stuff" level lol
Return to “General and Miscellaneous”
Who is online
Users browsing this forum: No registered users and 0 guests