Sign in to follow this  

Foam for water

This topic is 4303 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am rendering a RGBA texture and doing transparency to get my wave/foam onto my shore line. Now the issue is the texture looks unreal due to its square looking... How can I reduce or eliminate this looks so it looks more natural? I am using GLSL. Thanks

Share this post


Link to post
Share on other sites
Make sure you are enabling GL_BLEND and not alpha test...

Also, are you choosing a non-filtered texture "mode"..? if so, switch to use linear-filtering or mipmapped!

Cheers!

Share this post


Link to post
Share on other sites
Thanks for the reply. I am enabling both alpha test and blending. :) The texture looks fine, but due to its a square image the foam looks unreal and was wondering if noise or some way I could change the blending amount to fade in and out the alpha value at different times and different locations on the texture would solve my issue of the SQUARE look? Thanks

Share this post


Link to post
Share on other sites

This topic is 4303 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this