[Solved] Should water shader look like this?

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
Rubicon
Posts: 5
Joined: 22 Feb 2019, 14:49

[Solved] Should water shader look like this?

Post by Rubicon »

Hi! I am somewhat confused as to what default water shader should look like in openMW ver 0.44.

For instance, here is a PR merged on Sep 20, 2017. This is what water looks in images in "Conversation" tab there:
Spoiler: Show
This is what water looks like for me in game:
Spoiler: Show
Running a lot of mods, but, as long as contents of "openmw/resources/shaders" are not modified, this should have no effect on water shader, right?

Settings.cfg contents:
Spoiler: Show
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

Re: Should water shader look like this?

Post by AnyOldName3 »

What happens if you set the refraction scale setting back to 1.0?
Rubicon
Posts: 5
Joined: 22 Feb 2019, 14:49

Re: Should water shader look like this?

Post by Rubicon »

It is still flat
Spoiler: Show
EDIT: fixed image
User avatar
Capostrophic
Posts: 794
Joined: 22 Feb 2016, 20:32

Re: Should water shader look like this?

Post by Capostrophic »

You don't have png readerwriter plugin for whatever reason. Check openmw.log for possible warnings regarding this.

Do you use the Linux generic binary? If so, do you have libpng12 installed?
Rubicon
Posts: 5
Joined: 22 Feb 2019, 14:49

Re: Should water shader look like this?

Post by Rubicon »

Using this openmw build from here:

openmw.log has these lines:
Spoiler: Show

openmw/lib dir contents

Code: Select all

lexest@lexest-MS-7B61:~/openmw-0.44.0-Linux-64Bit/lib$ ls -la | grep png
lexest@lexest-MS-7B61:~/openmw-0.44.0-Linux-64Bit/lib$ ls -la osgPlugins-3.4.1/ | grep png
-rwxr-xr-x 1 lexest lexest   52260 Jan 19  2018 osgdb_png.so
 
I have not manually installed libpng12

EDIT:

Code: Select all

apt list --installed | grep png
tells me that I have a libpng16-16 package.

EDIT again:
Now I see my error:
Spoiler: Show
Rubicon
Posts: 5
Joined: 22 Feb 2019, 14:49

Re: Should water shader look like this?

Post by Rubicon »

Thanks @Capostrophic and @AnyOldName3 for your help. I am sorry to have wasted your time.
With the correct lib installed it just works
User avatar
lysol
Posts: 1513
Joined: 26 Mar 2013, 01:48
Location: Sweden

Re: [Solved] Should water shader look like this?

Post by lysol »

I hope you don't mind I edited the title to show that this was solved. :)
Rubicon
Posts: 5
Joined: 22 Feb 2019, 14:49

Re: [Solved] Should water shader look like this?

Post by Rubicon »

Not at all :D
Post Reply