yes, that's really beautiful!
please merge it to main branch
[patch] new fog shader
Re: [patch] new fog shader
Wow! This is absolutely amazing!
How does one install this .patch file?
How does one install this .patch file?
Re: [patch] new fog shader
well..... bleeding edge way
viewtopic.php?f=8&t=2720
recommend clean install and following guide kinda exactly...
(still don't know how somebody can do that but it's possible)
with tortoisegit opening that patch and file --> apply patch. to pulled / downloaded source directory
viewtopic.php?f=8&t=2720
recommend clean install and following guide kinda exactly...
(still don't know how somebody can do that but it's possible)
with tortoisegit opening that patch and file --> apply patch. to pulled / downloaded source directory
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.
I don't see a point in merging this to master now. We are unlikely to have another release before the OSG branch gets merged, at which point this work would become obsoleted. As for porting the fog shader to the OSG branch, way too early for that because we don't have any shaders yet.
I don't see a point in merging this to master now. We are unlikely to have another release before the OSG branch gets merged, at which point this work would become obsoleted. As for porting the fog shader to the OSG branch, way too early for that because we don't have any shaders yet.
Re: [patch] new fog shader
Done.scrawl wrote: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.
Since this version takes no density parameter from the engine you have to manually edit the parameters at the beginning of fog.h to change the density etc.
You also may need to empty your openmw cache directory (~/.cache/openmw on my system) for the changes to take effect.
Re: [patch] new fog shader
Wow, thanks it seriously looks awesome.
http://a.pomf.se/yggajb.png
http://a.pomf.se/fbozxq.png
Also, for people like me that didn't know:
- You need to extract the shaders not to datafiles folder but to resource folder!
- On my Linux PC is correct folder located in /usr/share/games/openmw/resources/materials/ , but it can be at the same place as your openmw executable depending on how you installed openmw.
- You also need to set "distant land = true" and make "viewing distance" bigger in settings.cfg. (I set it to 460000)
http://a.pomf.se/yggajb.png
http://a.pomf.se/fbozxq.png
Also, for people like me that didn't know:
- You need to extract the shaders not to datafiles folder but to resource folder!
- On my Linux PC is correct folder located in /usr/share/games/openmw/resources/materials/ , but it can be at the same place as your openmw executable depending on how you installed openmw.
- You also need to set "distant land = true" and make "viewing distance" bigger in settings.cfg. (I set it to 460000)
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: [patch] new fog shader
Talk about atmosphere, love it!
Re: [patch] new fog shader
This looks amazing, maybe it's time for me to test OpenMW again
- lgromanowski
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
- Contact:
Re: [patch] new fog shader
Wow, it's amazing!
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: [patch] new fog shader
This gets my vote to automatic inclusion into default OpenMW...
(even though it is perfectly fine as a drop-in mod as well.)
(even though it is perfectly fine as a drop-in mod as well.)