[patch] new fog shader
Re: [patch] new fog shader
Wow, it looks good. Is it going to be mainlined?
Re: [patch] new fog shader
How do i install the water shader patch?
Im on linux (Solus)
Running OpenMW 0.39
Im on linux (Solus)
Running OpenMW 0.39
- Capostrophic
- Posts: 794
- Joined: 22 Feb 2016, 20:32
Re: [patch] new fog shader
Currently you need to compile OpenMW with patch in the original post.Kanevc wrote:How do i install the water shader patch?
Im on linux (Solus)
Running OpenMW 0.39
Re: [patch] new fog shader
can someone build a version with water shader fix and the newest fog for linux 64
because cmake is asking for a lot of dependencies that arent in solus because its new
because cmake is asking for a lot of dependencies that arent in solus because its new
Re: [patch] new fog shader
Sadly, it appears as though the current OSG patch posted here has bitrotted a bit.
I had to hack it into a compilable state after some normal map pass changes, and the new results are... Interesting.
It appears to break the new normal/parallax code (You can see now that my vanilla road texture appears to be overriding the diffusemap texture from Uradumus on the road in front of me) It also appears to break all the vertex shading, and does not add in the fog as promised.
Here's a reference picture from a recent git build without the patch:
I had to hack it into a compilable state after some normal map pass changes, and the new results are... Interesting.
It appears to break the new normal/parallax code (You can see now that my vanilla road texture appears to be overriding the diffusemap texture from Uradumus on the road in front of me) It also appears to break all the vertex shading, and does not add in the fog as promised.
Here's a reference picture from a recent git build without the patch:
Re: [patch] new fog shader
I've more properly forward ported this now. In my version, there's a few bugs, many of which I can see were in Visvaldas's version as well, so it's not all errors in my porting process.
It affects the minimap highly, to the point that the minimap, and the local map are mostly unusable.
The fog start range seems to be far too close, and as a consequence, the shader currently looks horrible when at even slight elevations (Like at the top of one of Balmora's guard towers), and it washes out the terrain quite a bit.
The fog is not applied to actors or activators, making doors, crates, people and silt striders for example pop out through the fog very oddly. It also is not getting applied consistently to all parts of terrain and some other statics.
I myself am a bit out of my depth, and I've gone back and forth as to whether or not to release this, but in the end, I'd rather see the work continue as the potential is vast for this.
It affects the minimap highly, to the point that the minimap, and the local map are mostly unusable.
The fog start range seems to be far too close, and as a consequence, the shader currently looks horrible when at even slight elevations (Like at the top of one of Balmora's guard towers), and it washes out the terrain quite a bit.
The fog is not applied to actors or activators, making doors, crates, people and silt striders for example pop out through the fog very oddly. It also is not getting applied consistently to all parts of terrain and some other statics.
I myself am a bit out of my depth, and I've gone back and forth as to whether or not to release this, but in the end, I'd rather see the work continue as the potential is vast for this.
- Attachments
-
- fog-shader-osg-20160725.patch
- This still needs the water patch on page 3.
- (12.05 KiB) Downloaded 258 times
Re: [patch] new fog shader
I played around a little with your updated version of the fog shader and i am seeing some issues with it so far but cant tell if they were already present with the original patch set.
1. First being that the PC's figure in the inventory is shaded like the buildings in the screenshot from your last post.
2. Second being that it seems some interior have now fog aswell and i am quite sure some of these interiors are not meant to be filled with smoke like a biker bar. (In some cases the interior have some sort of fog layer that reaches up to NPC heads.)
Anyways i will be keep hacking on this as it looks really interesting.
1. First being that the PC's figure in the inventory is shaded like the buildings in the screenshot from your last post.
2. Second being that it seems some interior have now fog aswell and i am quite sure some of these interiors are not meant to be filled with smoke like a biker bar. (In some cases the interior have some sort of fog layer that reaches up to NPC heads.)
Anyways i will be keep hacking on this as it looks really interesting.
- silentthief
- Posts: 456
- Joined: 18 Apr 2013, 01:20
- Location: Currently traversing the Ascadian Isles
Re: [patch] new fog shader
hope that we can add this in intentionally in mods...damiel wrote: 2. Second being that it seems some interior have now fog aswell and i am quite sure some of these interiors are not meant to be filled with smoke like a biker bar. (In some cases the interior have some sort of fog layer that reaches up to NPC heads.)
ST the foggy