Stefan Dresselhaus
7d201cf216
- map still invisible - frustum defined - shaders fixed - attrib-link to shaders fixed - lookat now generates a frustum-projected look-at matrix - smaller test-map for debug
13 lines
182 B
GLSL
13 lines
182 B
GLSL
#version 330
|
|
|
|
//color from earlier stages
|
|
smooth in vec4 fg_SmoothColor;
|
|
|
|
//color of pixel
|
|
out vec4 fg_FragColor;
|
|
|
|
void main(void)
|
|
{
|
|
//copy-shader
|
|
fg_FragColor = fg_SmoothColor;
|
|
} |