4 Commits

Author SHA1 Message Date
fieldOfView
b2fc155c3b Fix legacy glsl shaders
By @smartavionics
2020-03-31 11:26:21 +02:00
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
fc4c66b62a show xray errors in solid view 2020-02-27 16:41:13 +01:00