Foam for water
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
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!
Also, are you choosing a non-filtered texture "mode"..? if so, switch to use linear-filtering or mipmapped!
Cheers!
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
Here's an old thread on this topic. Unfortunately, the images no longer work, but maybe it can be of some help. Good luck!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement