I can't figure out why points with gl_FragColor = vec4(255, 255, 255, .1);
get darker and then lighter when overlaid with increasing density.
I'm using these blending settings:
blend: {
enable: true,
func: {
srcRGB: 'src alpha',
srcAlpha: 1,
dstRGB: 'one minus src alpha',
dstAlpha: 1
},
equation: {
rgb: 'add',
alpha: 'add'
},
color: [0, 0, 0, 0]
},
Tweaking them hasn't fixed the problem, but I'm not sure what I'm doing...