1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-08 19:17:05 +08:00

feat: 添加VerticalSoften着色器,增强透明度控制逻辑

This commit is contained in:
2025-09-06 20:41:48 +08:00
parent d04b364d5d
commit 0f3dc2ca9f
11 changed files with 19 additions and 100 deletions
-1
View File
@@ -20,6 +20,5 @@ void fragment() {
wave_intensity *= sin(wave_dist * wave_frequency * 3.14159) * wave_amplitude;
vec3 base_color = mix(vec3(1.0), laser_color.rgb, 1.0 - laser_intensity);
vec3 color = base_color + vec3(wave_intensity);
//COLOR = vec4(color, (0.5-x_dist)/0.5);
COLOR = vec4(color,smoothstep(0,1.0-edge_nonalpha,(0.5-x_dist)/0.5));
}