remove all if statements in frag shader