frame-of-mind/src/base-environments/youth_room/shaders/starlight_shader.gdshader

10 lines
231 B
Plaintext
Raw Normal View History

2023-07-01 17:51:17 +00:00
shader_type spatial;
render_mode unshaded;
uniform sampler2D starlight_noise;
uniform sampler2D starlight_textures;
void fragment() {
ALBEDO = vec3(.0, .0, texture(starlight_textures, UV + texture(starlight_noise, UV).xz).z);
}