save
This commit is contained in:
parent
ad95711535
commit
2e310f4053
25 changed files with 852 additions and 74 deletions
10
entities/sky/sky.gdshader
Normal file
10
entities/sky/sky.gdshader
Normal file
|
@ -0,0 +1,10 @@
|
|||
shader_type sky;
|
||||
|
||||
uniform vec3 color_env : source_color;
|
||||
uniform sampler2D noise_texture : repeat_enable;
|
||||
uniform float noise_power;
|
||||
uniform float speed;
|
||||
|
||||
void sky() {
|
||||
COLOR = color_env * ((1.0+EYEDIR.y)/2.0) + noise_power*texture(noise_texture, SKY_COORDS + vec2(TIME*speed, 0)).xyz;
|
||||
}
|
1
entities/sky/sky.gdshader.uid
Normal file
1
entities/sky/sky.gdshader.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://tqpr7f3nr72k
|
Loading…
Add table
Add a link
Reference in a new issue