Commit graph

11 commits

Author SHA1 Message Date
Tim Kuipers
b51b699715 fix old xray view
I don't understand why it only seems to work if I define u_color via [default]
andd why it doesn't work when I set it inside the shader itself.
2020-02-27 18:17:07 +01:00
Tim Kuipers
4a8385e3e8 make xray counting color hardcoded value
Somewhere between the xray.shader and the xray_composite.shader the colors are stored as unsigned int.
Since we want to count the integer number of faces behind a pixel in the red channel, we simply use a color with an r value of 1/255.
2020-02-27 16:41:20 +01:00
Tim Kuipers
b3761c454b fix xray error visualization missing red faces 2020-02-26 16:24:27 +01:00
Jörg Walter
fa81ebeece GLES shader fixes 2018-03-29 21:07:51 +02:00
Ghostkeeper
b179edf60e
Document which layer is which pass
Contributes to issue CURA-5040.
2018-03-06 15:53:34 +01:00
Jack Ha
0889722350 Finishing up opengl 4.1 core profile things, it all works. CURA-3273 2017-02-02 17:08:20 +01:00
fieldOfView
45c8083423 Use themeable colors in Solid, Xray & Layer view 2017-01-23 22:08:27 +01:00
Jaime van Kessel
a7f8adb80a Handles now correctly hide selection aura when in x-ray mode
USL-33
2016-10-27 20:14:39 +02:00
fieldOfView
b05caa8bdc Remove unused uniforms from composite shaders
CURA-2299
2016-09-19 17:15:22 +02:00
Arjen Hiemstra
042c575b18 Update XRayView to render properly 2015-12-14 13:58:24 +01:00
Arjen Hiemstra
8a5f2b347a Add a working X-Ray view 2015-12-14 13:56:32 +01:00