lovr/src/api
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
..
api.c Fix error when rapidly recreating objects; 2021-06-26 14:41:42 -07:00
api.h luax_readtriangles -> luax_readmesh; Model support; 2021-03-25 12:29:11 -06:00
l_audio.c Draft new effects API; 2021-04-01 16:46:16 -06:00
l_audio_source.c Source directivity power defaults to 1; 2021-04-03 11:22:23 -06:00
l_data.c Better newSound error messages; 2021-04-02 23:35:18 -06:00
l_data_blob.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_data_image.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_data_modelData.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_data_rasterizer.c Move text measuring to Rasterizer 2021-10-21 10:42:11 -07:00
l_data_sound.c Rework Sound:getFrames; 2021-04-05 12:52:16 -06:00
l_event.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_filesystem.c rm unused variables; 2021-05-31 15:04:24 -06:00
l_graphics.c Fix/improve alpha cutoff; 2021-12-28 21:10:52 +02:00
l_graphics_canvas.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_font.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_material.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_mesh.c Fix Mesh:setVertices starting index wraparound crash; 2021-10-09 03:01:40 -07:00
l_graphics_model.c Fix Model:getTriangles; Add Lua API; 2021-03-25 12:29:11 -06:00
l_graphics_shader.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_shaderBlock.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_texture.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_headset.c Add overlay parameter to headset init 2021-04-16 14:20:05 -06:00
l_lovr.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math_curve.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math_randomGenerator.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math_vectors.c Accept number values in Vec2/3/4 operations 2021-09-07 14:00:59 -07:00
l_physics.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_collider.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_joints.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_shapes.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_world.c World:newMeshCollider uses luax_readmesh; 2021-03-25 12:29:11 -06:00
l_system.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread_channel.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread_thread.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_timer.c Flatten api.h; 2021-03-15 18:54:27 -06:00