Stefan Dresselhaus
2ff7534ede
- rudimentary vertex and fragment-shader in shaders/.. - created new Render-Module (unfinished and untested)
12 lines
179 B
GLSL
12 lines
179 B
GLSL
#version 140
|
|
|
|
#color from earlier stages
|
|
smooth in vec4 fg_SmoothColor;
|
|
|
|
#color of pixel
|
|
out vec4 fg_FragColor;
|
|
|
|
void main(void)
|
|
{
|
|
fg_FragColor = fg_SmoothColor; #copy-shader
|
|
) |