Product Chat / [SOLVED] water problem with new shader?

Author
Message
m2design
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location:
Posted: 7th Nov 2018 18:15 Edited at: 7th Nov 2018 18:31

In this first image I can see the support piers thru the water below the water line.


in this second image after taking a step forward, the piers BELOW the water line are no longer visible. Taking a step back the piers are again visible.
Is this a water shader problem or am I just doing something wrong with the latest shader?

Windows 10 creator,64 bit| Intel i7-7700 @3.60GHZ Quad|CPU PASSMARK 10,794|Memory 16GB |NVIDIA GEFORCE GTX 1070|GPU PASSMARK 11,071

The author of this post has marked a post as an answer.

Go to answer

Attachments

Login to view attachments
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Nov 2018 18:25
Perhaps it's the water transparency setting? There's a bunch of options available now which I haven't yet played with. Transparency is one of them.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
m2design
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location:
Posted: 7th Nov 2018 18:37
@DVader
I also thought the transparency feature might be the problem, but I have run different settings for transparency with no suitable result.
The screen shoots in my original post show the problem a little clearer. (not the image shots)

Windows 10 creator,64 bit| Intel i7-7700 @3.60GHZ Quad|CPU PASSMARK 10,794|Memory 16GB |NVIDIA GEFORCE GTX 1070|GPU PASSMARK 11,071
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Nov 2018 18:48 Edited at: 7th Nov 2018 18:50
Perhaps it's some optimisation technique in the shader that is dropping the water quality down at a certain distance. Does it always look right up close, but hides the effect at a certain range and beyond? If so, it's probably a way to keep speed up more than likely (or a simple bug). Might be easily upped in the shader, but I'm sure someone who is more familiar than me with them will be able to shed some light on it.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
m2design
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location:
Posted: 7th Nov 2018 19:35 Edited at: 7th Nov 2018 20:08
@ DVader
Thanks, I have created a simple video that illustrates the issue. it appears that the model viewed at certain angles the water becomes an occluder. It is not the distance as previous thought.



Windows 10 creator,64 bit| Intel i7-7700 @3.60GHZ Quad|CPU PASSMARK 10,794|Memory 16GB |NVIDIA GEFORCE GTX 1070|GPU PASSMARK 11,071
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Nov 2018 21:46
Have you tried setting the hut to not be occluded by anything? Just to see if it is occlusion at work. I wasn't aware that the occluder could occlude objects partially though, but it may be the issue. I wouldn't think that water would ever need to occlude anything as such but it may be the case it is. If it is occlusion then the occlusion is better than I thought, albeit possibly causing issues here
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
m2design
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location:
Posted: 7th Nov 2018 22:08
@DVader
Problem solved. In my "oldshack" models that contain glass windows I was using transparency=6 in the fpe file. changed it to transparency = 1
And the problem went away. I used 6 based on some past history of trying to make glass transparent. It turns out the method I now use for models with transparent glass do not require the 6, 1 works just fine. Will have to revise the fpe files used in my oldshack in the store.


Back to work on the store stuff I guess....

Windows 10 creator,64 bit| Intel i7-7700 @3.60GHZ Quad|CPU PASSMARK 10,794|Memory 16GB |NVIDIA GEFORCE GTX 1070|GPU PASSMARK 11,071
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Nov 2018 22:54 Edited at: 7th Nov 2018 22:55
This post has been marked by the post author as the answer.
Nice one, glad you got it sorted I must admit there are several options for transparencies (or used to be) which I could never understand. Either you want em or not :p There's been times when I have been banging my head against a wall, editing 3D models over and over, only to find a simple fpe change fixes things

Don't forget to mark this as solved
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.

Login to post a reply

Server time is: 2024-03-28 20:41:06
Your offset time is: 2024-03-28 20:41:06