Water shader rendering issues

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
User avatar
psi29a
Posts: 3652
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Water shader rendering issues

Post by psi29a » 01 Mar 2016, 15:08

I noticed it before but I've never seen it this bad until looking at the shallow parts of water. Do you know what might be causing this?

I see it on both Intel and Nvidia.

Here is a video I made, I cranked up the view distance (666666) and currently loaded cells (18) so it will be about 15fps @ 720p.

https://youtu.be/4LmzpdhNHds

at about 1:40 you really see it... black lines everywhere.

User avatar
scrawl
Posts: 2148
Joined: 18 Feb 2012, 11:51
Contact:

Re: Water shader rendering issues

Post by scrawl » 01 Mar 2016, 15:11

Looks like z-fighting. Try reducing the view distance or increasing the near clip plane.

User avatar
psi29a
Posts: 3652
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Water shader rendering issues

Post by psi29a » 01 Mar 2016, 15:23

Changing the view distance doesn't help, but I did notice that pushing the clip plane to 8.0 reduced it a bit but it was still there and noticeable.

Would you like a copy of the ESP for testing?

Chris
Posts: 1384
Joined: 04 Sep 2011, 08:33

Re: Water shader rendering issues

Post by Chris » 01 Mar 2016, 19:54

Increasing the depth buffer's..depth may help a bit too, though I'm not sure if OpenMW exposes an option for that anywhere (I'm not sure what its default depth is, either). Another thing that could help is for OpenMW to use a logarithmic depth buffer, since the default scheme used by OpenGL and D3D puts an absurd amount of precision in the first few world units which causes the more distant pixels to start fighting over the same depth location a lot earlier (for OpenGL, this would require using the GL_ARB_clip_control extension to change the depth mode).

Locked

Who is online

Users browsing this forum: No registered users and 4 guests