pioneers/shaders/fragment.shader
Stefan Dresselhaus e5193fc7c5 Migrated to OpenGL3.x - compiles but renders nothing
- added simple shader
- rewrote map to cater BufferArray
- completele rewrote Main
- Split off stuff into Render-Module
- cleaned up .cabal-file to bare minimum
- created RenderObjects for the purpose of moving rendering there
2014-01-03 03:01:54 +01:00

13 lines
182 B
GLSL

#version 140
//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;
}