fix: fix wavePointPoint

This commit is contained in:
2912401452 2022-04-11 19:55:42 +08:00
parent e94d7c069f
commit 6c1f7dd34b
1 changed files with 0 additions and 5 deletions

View File

@ -35,11 +35,6 @@ void main() {
inner_df = sdCircle(v_data.xy, r); inner_df = sdCircle(v_data.xy, r);
if(u_globel > 0.0) {
// TODO: 地球模式下避免多余片元绘制,同时也能避免有用片元在透明且重叠的情况下无法写入
// 付出的代价是边缘会有一些锯齿
if(outer_df > antialiasblur + 0.018) discard;
}
float opacity_t = smoothstep(0.0, antialiasblur, outer_df); float opacity_t = smoothstep(0.0, antialiasblur, outer_df);
float color_t = smoothstep( float color_t = smoothstep(