Update screen.glslf

This commit is contained in:
Rost Alexeev 2024-06-13 19:25:31 +02:00 committed by GitHub
parent f8d814aab5
commit f7310cd5f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,10 +4,6 @@ out vec4 f_color;
uniform sampler2D u_texture0;
uniform ivec2 u_screenSize;
float random(vec2 st){
return fract(sin(dot(st.xy ,vec2(12.9898,78.233))) * 43758.5453);
}
// Vignette
vec4 apply_vignette(vec4 color)
{