mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 20:09:58 -05:00
19 lines
324 B
GLSL
19 lines
324 B
GLSL
#version 430 core
|
|
|
|
in vec3 vPosition;
|
|
out vec4 fragColor;
|
|
|
|
#include "ABuffer/abufferStruct.hglsl"
|
|
#include "ABuffer/abufferAddToBuffer.hglsl"
|
|
|
|
void main() {
|
|
fragColor = vec4(vPosition+0.5, 0.3);
|
|
|
|
ABufferStruct_t frag;
|
|
_col_(frag, fragColor);
|
|
_z_(frag, gl_FragDepth);
|
|
_type_(frag, 1);
|
|
addToBuffer(frag);
|
|
|
|
//discard;
|
|
} |