ld56/game.gdshader

17 lines
481 B
Plaintext
Raw Normal View History

2024-10-06 19:08:32 +00:00
//Shader by: Jordancjb (https://linktr.ee/jordancjb)
//Licensed under Creative Commons 0, Use as you like c:
shader_type canvas_item;
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap;
//Noise Texture
uniform sampler2D Noise;
//Settings
uniform float Transparency = 4.0;
uniform float Slow = 25.0;
//Shader Code
void fragment() {
COLOR = texture(SCREEN_TEXTURE, SCREEN_UV) * texture(Noise, texture(Noise, UV).xy + cos(TIME) / Slow) / Transparency;
}