20 lines
259 B
GLSL
20 lines
259 B
GLSL
#version 330
|
|
|
|
const float blend = 1.5f;
|
|
|
|
in float lineStrength;
|
|
|
|
in vec4 color;
|
|
in float lineWidth;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main(void)
|
|
{
|
|
vec4 col = color;
|
|
float d = length(vec2(lineStrength) - gl_FragCoord.xy);
|
|
float w = lineWidth;
|
|
|
|
fragColor = col;
|
|
}
|