working on additive blending for determination of winding order. Saving here because this bug is very pretty
This commit is contained in:
@@ -8,5 +8,13 @@ layout(location = 0) in vec4 out_color;
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
void main() {
|
||||
f_color = out_color;
|
||||
|
||||
|
||||
if (int(out_color.w) % 2 == 0) {
|
||||
|
||||
f_color = out_color;
|
||||
f_color.w = 255.0;
|
||||
}
|
||||
|
||||
//f_color = out_color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user