jak-project/game/graphics/opengl_renderer/shaders/sky_blend.frag
water111 b2052016e2
[decomp] sky/time of day (#883)
* time of day

* goal code seems to work

* stars at wrong spot

* stars and sun work

* debugging clouds

* fix texture correction

* sky works

* cleanup, add profiler

* clean up

* final clean up

* offline tests

* missing include
2021-10-10 20:07:03 -04:00

12 lines
205 B
GLSL

#version 330 core
layout(location = 0) out vec4 color;
in vec3 tex_coord;
uniform sampler2D tex_T0;
void main() {
vec4 T0 = texture(tex_T0, tex_coord.xy);
color = vec4(((T0 )) * tex_coord.z);
}