solvespace/res/shaders/imesh_point.frag
whitequark 6b67cfe63f Except when using OpenGL ES 2, use OpenGL 3.2+ Core profile.
This is primarily done to lower the GTK version dependency below
GTK 3.22, since GTK 3.22 is unlikely to be widely availale any
time soon.
2017-01-13 23:43:02 +00:00

18 lines
404 B
GLSL

//-----------------------------------------------------------------------------
// Point rendering shader
//
// Copyright 2016 Aleksey Egorov
//-----------------------------------------------------------------------------
const float feather = 0.5;
uniform vec4 color;
uniform float pixel;
uniform float width;
varying vec2 fragLoc;
void main() {
// Rectangular points
gl_FragColor = color;
}