mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
remove fragment discard
This commit is contained in:
@@ -7,8 +7,6 @@ in vec4 pos;
|
|||||||
out vec4 color;
|
out vec4 color;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
if (pos.w > 0.8) discard;
|
|
||||||
|
|
||||||
float d = smoothstep(-2, 2, pos.z);
|
float d = smoothstep(-2, 2, pos.z);
|
||||||
color = vec4(c * d, 1);
|
color = vec4(c * d, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user