world: added clouds
This commit is contained in:
parent
1017920ee0
commit
58c7731fa3
3 changed files with 15 additions and 20 deletions
|
|
@ -1,9 +0,0 @@
|
|||
shader_type sky;
|
||||
uniform vec3 skyColor : source_color;
|
||||
uniform vec3 horizonColor : source_color;
|
||||
|
||||
void sky() {
|
||||
float col = clamp(EYEDIR.y / 0.05, 0.0, 1.0);
|
||||
vec3 finalColor = mix(horizonColor,skyColor,col);
|
||||
COLOR = finalColor;
|
||||
}
|
||||
BIN
world/sky/kloofendal_48d_partly_cloudy_puresky_2k.hdr
Normal file
BIN
world/sky/kloofendal_48d_partly_cloudy_puresky_2k.hdr
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue