lovr/src/modules
bjorn 8462beef00 Fix/improve alpha cutoff;
The current flag did not work because float shader flags are not
supported.  It was also not very useful because it was per-shader
and did not use the alpha cutoff property of glTF materials.

Instead, let's turn the shader flag into an enable/disable boolean,
and add a scalar material property named "alphacutoff" that gets
read by the glTF importer.

When the alphaCutoff flag is enabled, the material property will be
compared against the pixel's alpha value to decide whether it should
get discarded.
2021-12-28 21:10:52 +02:00
..
audio phonon: Fix crash when setGeometry fails; 2021-04-27 22:15:15 -06:00
data Fix/improve alpha cutoff; 2021-12-28 21:10:52 +02:00
event lovr.system; 2021-02-25 09:00:12 -07:00
filesystem Add even more padding to stb zlib; 2021-03-24 21:13:04 -06:00
graphics Fix/improve alpha cutoff; 2021-12-28 21:10:52 +02:00
headset Include unknwn.h to fix OpenXR on some windows systems; 2021-12-27 15:16:50 +02:00
math util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
physics Remove suspicious friction override; 2021-11-12 12:20:21 -08:00
system lovr.system.getCoreCount; 2021-02-25 09:30:05 -07:00
thread util.h no longer uses atomics; 2021-02-11 16:37:55 -07:00
timer lovr.system; 2021-02-25 09:00:12 -07:00