mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-10 01:10:05 +00:00
17 lines
No EOL
319 B
GLSL
17 lines
No EOL
319 B
GLSL
shader_type spatial;
|
|
render_mode unshaded, cull_disabled, blend_mix;
|
|
|
|
uniform float mist_level = 0.0;
|
|
uniform float blur_amount : hint_range(0, 5);
|
|
|
|
|
|
void vertex()
|
|
{
|
|
POSITION = vec4(VERTEX, 1.0);
|
|
}
|
|
|
|
void fragment()
|
|
{
|
|
ALBEDO = textureLod(SCREEN_TEXTURE, SCREEN_UV, 5.0*mist_level).rgb;
|
|
ALPHA = mist_level;
|
|
} |