mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 18:23:39 -04:00
b2052016e2
* 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
14 lines
256 B
GLSL
14 lines
256 B
GLSL
#version 330 core
|
|
|
|
out vec4 color;
|
|
|
|
in vec4 fragment_color;
|
|
in vec2 tex_coord;
|
|
uniform sampler2D tex_T0;
|
|
|
|
void main() {
|
|
//vec4 T0 = texture(tex_T0, tex_coord);
|
|
vec4 T0 = textureProj(tex_T0, vec3(tex_coord, 1.0));
|
|
color = fragment_color * T0 * 2.0;
|
|
}
|