Stefan Dresselhaus
e5193fc7c5
- 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
13 lines
182 B
GLSL
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;
|
|
} |