Fog effect
Moderator: Moderators
Fog effect
this is not the same as Ground Fog, ground fog is that mist in the ground, while this, this is the true fog effect i said i would make.
you might be thinking that this is not like RL fog, well, because i recently started making this, so don't expect awesome screens for the first test version.
this effect is really good for changing game play, look as screens, at the last one you can't see the mini map, this can be changed.
you might be thinking that this is not like RL fog, well, because i recently started making this, so don't expect awesome screens for the first test version.
this effect is really good for changing game play, look as screens, at the last one you can't see the mini map, this can be changed.
- Attachments
-
- luaFog.jpg
- (45.22 KiB) Downloaded 798 times
Re: Fog effect
That looks good. In terms of layers, does it draw over the weather FX? That'd be ideal... I could have a mildly-foggy, rain-swept city, that'd be awesome...
Re: Fog effect
haven't tested it with rain, but it is drawn after the ground fog, which is a bad thing.
the ideal should probably be:
rain < fog < ground fog
i am converting the ground fog to a gadget now, so that you can test it and see if you like.
the ideal should probably be:
rain < fog < ground fog
i am converting the ground fog to a gadget now, so that you can test it and see if you like.
Re: Fog effect
Great, really looking forward to testing this with the city in World Builder, seeing how it all works.
Hey... drat, I've forgotten to get your sounds done... lemme go do that now...
Hey... drat, I've forgotten to get your sounds done... lemme go do that now...
Re: Fog effect
i will need some help to convert this(fog,ground fog,rain) to a gadget, because my gadgets rarely work.
about performance issues when using this, i activated rain+dinamic blob shadows+animated water+ground fog+fog+ribbon effects, and got a 6 or 8 FPS drop.
about performance issues when using this, i activated rain+dinamic blob shadows+animated water+ground fog+fog+ribbon effects, and got a 6 or 8 FPS drop.
Re: Fog effect
Shiet..ur doing an awsome job thing here User...i can already invision maps using all these coll stuff.
By the way is it possible to make a shield effect in some similair way?
so it wont just be a single color with low opacity.
Something more similair to supcom but so it wont eat up resources.
By the way is it possible to make a shield effect in some similair way?
so it wont just be a single color with low opacity.
Something more similair to supcom but so it wont eat up resources.
Re: Fog effect
yes, just draw the sphere, using lua, texture it, and use a shield weapon to make the deflect system.By the way is it possible to make a shield effect in some similair way?
here is the widget, someone convert it: before editing anything below the fog defs, contact me.
to use it: just edit the fog defs, to whatever you like, density should be leaved as is, spheres is the same as layers in ground fog, sphere spacing should not be very small.
Re: Fog effect
user is this thread and the LUA files it contains different from the one here;
Ground Fog!, without shaders.?
cause if they are the same can we just lock one of these threads so its less confusing and the widget is always correctly updated?
Ground Fog!, without shaders.?
cause if they are the same can we just lock one of these threads so its less confusing and the widget is always correctly updated?
Re: Fog effect
they are way different, ground fog is the mist on the ground,
fog effect is like the fog in maps, or like Real Life fog.
i made 2 topics, because i thought it would be better.
fog effect is like the fog in maps, or like Real Life fog.
i made 2 topics, because i thought it would be better.
Re: Fog effect
i notice an issue with this, you probably already know, but off map fog blocks special effects closer in front no matter the distance. Could you make it not go indefinitely and maybe closer to the edge of the map and stopping, in the the groundfog my bad...
Re: Fog effect
projectiles and particles will always get drawn behind the lua effects, currently there is no way to fix this using lua, the only way is to edit the
spring code.
spring code.
Re: Fog effect
who made it?
and that is trepan fog, not mine, and that is ground fog, so probably it should be on ground fog topic.
by the way, cool video.
i knew i shouldn't have stolen his fog shader without his permission, anyway, he was not going to release it in the next years.
and that is trepan fog, not mine, and that is ground fog, so probably it should be on ground fog topic.
by the way, cool video.
i knew i shouldn't have stolen his fog shader without his permission, anyway, he was not going to release it in the next years.
Re: Fog effect
here is the new fog, this one doesn't has the cliping problem, and it looks way better.
- Attachments
-
- unit_fog.lua
- (7.99 KiB) Downloaded 46 times
Re: Fog effect
This is to be used by the mod people, yeah?
Re: Fog effect
it can be used by mods and maps, this will look like rl fog if used correctly, i made some screen shots that show the best configs i could make, i will post here the configs later.