diff --git a/app-proto/full-interface/src/inversive.frag b/app-proto/full-interface/src/inversive.frag index 8327f47..b7fb100 100644 --- a/app-proto/full-interface/src/inversive.frag +++ b/app-proto/full-interface/src/inversive.frag @@ -209,10 +209,8 @@ void main() { // composite the sphere fragments vec3 color = vec3(0.); for (int i = layer_cnt-1; i >= layer_threshold; --i) { - if (frags[i].pt.z < 0.) { - vec4 frag_color = frags[i].color; - color = mix(color, frag_color.rgb, frag_color.a); - } + vec4 frag_color = frags[i].color; + color = mix(color, frag_color.rgb, frag_color.a); } outColor = vec4(sRGB(color), 1.); } \ No newline at end of file diff --git a/app-proto/inversive-display/src/inversive.frag b/app-proto/inversive-display/src/inversive.frag index fc2a474..f76995d 100644 --- a/app-proto/inversive-display/src/inversive.frag +++ b/app-proto/inversive-display/src/inversive.frag @@ -205,10 +205,8 @@ void main() { // composite the sphere fragments vec3 color = vec3(0.); for (int i = layer_cnt-1; i >= layer_threshold; --i) { - if (frags[i].pt.z < 0.) { - vec4 frag_color = frags[i].color; - color = mix(color, frag_color.rgb, frag_color.a); - } + vec4 frag_color = frags[i].color; + color = mix(color, frag_color.rgb, frag_color.a); } outColor = vec4(sRGB(color), 1.); } \ No newline at end of file