I have a very simple request from GLSL 330:
if (colorOut.r <= 1.0 && colorOut.r > 0.7)
{
colorOut.r=*color_1.r;
}
I have over 40 compares like this.
However, this is creating a world of trouble for me, as I've been told AND, NOT, etc statements take a lot of video memory, and I'm developing a plugin for After Effects, and people who happen to use them don't have strong GPUs (for the most part -- I have done a survey and most of them use mobile version of mid-end GPUs). so I thought I'd ask you guys if there's a possible alternative to using AND or even if, because I've been told fragment shaders don't like if in the main branch at all.
Thanks.