Fluffy Cuttlefish
Add:
- Add
Materialobjects. Materials are sets of colors and textures that can be applied to Models and Meshes. Models automatically load referenced materials and textures. - Add
Animatorobjects for skeletal animation playback. - Add fallback mouse/keyboard controls used when VR hardware is not present.
- Add support for loading glTF models.
- Add gamma correct rendering,
lovr.graphics.isGammaCorrect, and thegammacorrectoption toconf.lua. - Add
lovr.math.gammaToLinearandlovr.math.linearToGamma. - Add
lovr.graphics.circle. - Add
lovr.graphics.arc. - Add
lovr.math.orientationToDirection. - Add
Transform:getMatrixandTransform:setMatrix. - Add support for vertex colors and add the built in
lovrVertexColorvertex attribute to shaders. - Add
Model:getMesh. - Add
Mesh:drawInstancedandModel:drawInstanced. - Add
linesandlinestripdraw modes to Meshes. - Add
Shader:hasUniform. - Add the ability to customize VR runtime preferences using the
headset.driverstable inconf.lua.
Change:
- Change
Shader:sendto accept more types of uniforms, including arrays. - Change
lovr.graphics.newTextureto accept 6 arguments to create a cube map texture. - Change functions that deal with colors to use a floating point range of 0 - 1 instead of 0 - 255.
Fix:
- Fix
Controller:getHand,lovr.graphics.setPointSize, HRTF audio, and ZIP archive mounting for WebVR. - Fix a bug with
World:raycastthat occurred when the ray hit multiple things. - Fix loading and rendering of more complicated models with node hierarchies and multiple materials.
- Fix a bug with text rendering that caused flickering.
- Fix Shader error messages to include correct line numbers.
- Fix crash on Windows that occurred when paths had non ASCII characters.
Remove:
- Remove
Model:setTexture,Model:getTexture,Mesh:setTexture, andMesh:getTexture. They have been replaced byModel:setMaterial,Model:getMaterial,Mesh:setMaterial, andMesh:getMaterial. - Remove
Skyboxobject. It has been replaced withlovr.graphics.skybox. - Remove the ability to pass Textures as the optional first argument of drawing primitives (Materials can be passed instead).
- Remove
lovr.filesystem.exists. Thelovr.filesystem.isFileandlovr.filesystem.isDirectoryfunctions can be used instead.