fiddling around, trying to get the additive to work
This commit is contained in:
@@ -8,13 +8,15 @@ layout(location = 0) in vec4 out_color;
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
void main() {
|
||||
|
||||
|
||||
if (int(out_color.w) % 2 == 0) {
|
||||
|
||||
if (out_color.w >= 1.004) {
|
||||
|
||||
f_color = out_color;
|
||||
f_color.w = 255.0;
|
||||
//f_color.w = 1.0;
|
||||
} else {
|
||||
f_color = f_color;
|
||||
f_color.w = 0.0;
|
||||
}
|
||||
|
||||
//f_color = out_color;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user