Tweaked debug lines (thinner, darker when occluded)
parent
e0e57a2b4f
commit
a49290885e
|
@ -12,5 +12,5 @@ void main()
|
|||
if (mod(v_path_length * 20.0, 2) < 1.0)
|
||||
discard;
|
||||
|
||||
gl_FragColor = v_color0;
|
||||
gl_FragColor = v_color0 * 0.8;
|
||||
}
|
||||
|
|
|
@ -1639,7 +1639,7 @@ void Renderer::paintGL() {
|
|||
line.UpdateBuffers();
|
||||
}
|
||||
|
||||
float thickness = 0.143f;
|
||||
float thickness = 0.05143f;
|
||||
float miter = 0.0f;
|
||||
float aspect = static_cast<float>(width) / height;
|
||||
|
||||
|
|
Loading…
Reference in New Issue