Fix location shader #321

This commit is contained in:
Emux 2017-06-11 19:41:52 +03:00
parent d409aa5b96
commit b94d943247

View File

@ -40,7 +40,7 @@ void main() {
// - subtract inner from outer to create the outline
// - multiply by viewshed
// - add center point
a = max(d, (a - (b + c)) + c) + (u_mode == 2 ? c : 0);
a = max(d, (a - (b + c)) + c) + (u_mode == 0 ? c : 0);
gl_FragColor = u_color * a;
}
}