Search found 35 matches

by visvaldas
15 Mar 2016, 10:39
Forum: General Development
Topic: [patch] new fog shader
Replies: 126
Views: 53347

Re: [patch] new fog shader

I've ported it to the current version. Unfortunately the performance impact seems to be bigger than on the ogre version - on my system at least (intel haswell igp). Bugs: The height based fog looks wrong in water reflections because the scene is rendered upside down. Also the sky might look odd beca...
by visvaldas
27 May 2015, 20:22
Forum: General Development
Topic: [patch] new fog shader
Replies: 126
Views: 53347

Re: [patch] new fog shader

If someone were to move all of the calculations to the shader, which shouldn't be too difficult, then you could just drop it into your resource folder and have it work without recompiling the game, just like a normal mod. Done. :mrgreen: Since this version takes no density parameter from the engine...
by visvaldas
25 May 2015, 16:07
Forum: General Development
Topic: [patch] new fog shader
Replies: 126
Views: 53347

Re: [patch] new fog shader

@scrawl: Yep - thats Red Mountain. Yeah, I was just wondering if that's vanilla or modded . If it's vanilla, then that fog sure does make the mountain seem a lot higher than usual :) It's vanilla :) Hopefully it can be configurable, probably as an added weather property. As pretty as it can look, l...
by visvaldas
24 May 2015, 23:40
Forum: General Development
Topic: [patch] new fog shader
Replies: 126
Views: 53347

Re: [patch] new fog shader

Thanks :) @scrawl: Yep - thats Red Mountain. Actually I programmed this a while ago (yes I could have submitted this much earlier :oops: ), so my memory of why I did what is already a bit rusty. The C++ is at least partially to improve performace: some values only need to be calculated once when the...
by visvaldas
24 May 2015, 21:21
Forum: General Development
Topic: [patch] new fog shader
Replies: 126
Views: 53347

[patch] new fog shader

Edit: Port to OSG version: https://forum.openmw.org/viewtopic.php?f=6&t=2905&start=20#p38328 Edit: newest version: https://gitlab.com/vrresto/openmw/tree/my-fog-shader-cleanup ---------------------------------------- Hi ! This comes probably a bit late with the port to OSG taking place now - anyway ...