mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
feat(world): add day/night cycle with server tick system
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
out vec4 frag_color;
|
||||
|
||||
uniform vec3 color;
|
||||
|
||||
void main(void) {
|
||||
|
||||
frag_color = vec4(0.529, 0.808, 0.922, 1.0);
|
||||
frag_color = vec4(color, 1.0);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user