UI Changes

This commit is contained in:
Debugman committed 2026-10-18 10:54:10 -05:00
1 parent 0586eecdf4
commit c91e4b5ba9
13 files changed
+233 -18

No files matched your search

+3 -3
View File
@@ -4,8 +4,8 @@
shader_type canvas_item;
render_mode unshaded, skip_vertex_transform;
const float curvature = 3.4;
const float vignette_multiplier = 0.6;
const float curvature = 3.5;
const float vignette_multiplier = 0.7;
uniform sampler2D screen_texture: hint_screen_texture;
@@ -14,7 +14,7 @@ void fragment() {
vec2 uv_offset = centered_uv.yx / curvature;
vec2 warped_uv = centered_uv + centered_uv * uv_offset * uv_offset;
vec3 cutoff = vec3(step(abs(warped_uv.x), 1.0) * step(abs(warped_uv.y), 1.0));
vec3 scanlines = vec3(sin(1.5 * warped_uv.y * 720.0) * 0.25 + 0.75);
vec3 scanlines = vec3(sin(1.5 * warped_uv.y * 720.0) * 0.35 + 0.75);
vec3 vignette = vec3(length(pow(abs(centered_uv), vec2(4.0)) / 3.0));
vec3 screen_color = texture(screen_texture, (warped_uv + 1.0) / 2.0).rgb * (scanlines * 1.3);