I'm writing a game and since the map will be quite big, I'm running the game logic in a GLSL shader.
the pipeline works, I see stuff getting updated etc, my only problem is when I try to create a political overlay of the calculated results. In the map (attached screen) the yellow area is colonized.
the problem is, no matter what alpha I return in my fragment, it's this almost but not quite solid yellow.
filter is super simple; if colonized (blue channel of the texture) then emit that player color (fixed yellow for now to simplify):
vec4 oc = texture2D(uSampler