Ahmed Saady Posted February 15, 2015 Share Posted February 15, 2015 Hey guys , Im working on a beach wave project and its very big one , i was looking in forum about how to make my far water looking darker than the near from beach sand , but i did not find any good help about it , So i really wish if any one can helping me get this shader. Thanks guys. Quote Link to comment Share on other sites More sharing options...
xray Posted February 23, 2015 Share Posted February 23, 2015 You could put some attribute on your water points the contains their distance from the camera. Promote the attribute to a detail attribute, taking the Max value. Promote the attribute to a detail attribute, taking the Min Value. Take the Min/Max values and promote them back down to point attributes. In VOPs, normalize the distance to the Min and Max values and use that as a gradient. Bias to taste. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.