Government Goop
Add:
- Add support for Vive trackers (again)
- Add support for Quest 2
- Add
Device
s for elbows, shoulders, chest, waist, knees, feet, camera, and keyboard - Add support for OpenXR on Linux
- Add Windows Mixed Reality controller bindings for OpenVR
- Add
lovr.system
module - Add
lovr.permission
callback - Add plugin system
- Add support for
require
ing libraries inside APKs - Add UVs to
lovr.graphics.cylinder
- Add a stack trace to thread errors
- Add
Mat4:target
- Add support for binary STL models
- Add
t.audio.spatializer
to support switching audio spatializers - Add support for Oculus Audio Spatializer
- Add support for Steam Audio
- Add support for WAV sounds
- Add support for MP3 sounds
- Add support for ambisonic sounds
- Add
SampleFormat
for creating floating point Sounds - Add
t.audio.start
to control whether audio devices are automatically started - Add
lovr.audio.getDevices
,lovr.audio.setDevice
,lovr.audio.start
,lovr.audio.stop
, andlovr.audio.isStarted
- Add
lovr.audio.setGeometry
andAudioMaterial
- Add
lovr.audio.get/setAbsorption
- Add
Effect
,Source:isEffectEnabled
, andSource:setEffectEnabled
- Add
Source:get/setRadius
- Add
Source:get/setDirectivity
- Add
Source:clone
- Add
VolumeUnit
parameter tolovr.audio.get/setVolume
andSource:get/setVolume
- Add support for
lovr.headset.getVelocity
to the WebXR driver
Change:
- Change
SoundData
to be namedSound
- Change
TextureData
to be namedImage
- Change
Image:encode
to return aBlob
instead of writing to a file - Change default physics linear damping from
.01
to0
- Change
lovr.mirror
to correctly render transparent headset textures - Change
Mat4:lookAt
to compute a "look at" view matrix (useMat4:target
for the old behavior) - Change
lovr.filesystem.write
andlovr.filesystem.append
to accept Blobs - Change
lovr.headset
to submit empty frames whenlovr.draw
is missing (instead of not submitting anything) - Change default font shader to have more precise/sharp antialiasing
- Change
ShaderBlock:send
to accept a byte range when sending a Blob - Change
lovr.graphics.newFont
to accept custom glyph padding and SDF range values - Change
lovr.audio.isSpatialized
tolovr.audio.getSpatializer
- Change
Source:setCone
toSource:setDirectivity
- Change
samples
value ofTimeUnit
to be namedframes
.
Fix:
- Fix hand tracking orientation on Quest
- Fix improper vsync when changing headset drivers during a restart
- Fix graphics flickering on Intel GPUs
- Fix lovr.math when used on threads
- Fix crash when threads threw non-string errors
- Fix the
lovr.math.newCurve
variant that takes a single number for the point count - Fix issue where
Mat4:unpack
would sometimes returnnan
angles - Fix error screen erroring after a while when it ran out of vectors
- Fix error screen erroring when
t.math.globals
wasfalse
- Fix crash with
vrapi
driver when requesting pose for devices other than head/hands - Fix
lovr.filesystem.append
on unix - Fix
lovr.headset.getDisplayDimensions
to return dimensions for a single eye on the desktop driver - Fix
lovr.restart
andarg.restart
on WebAssembly - Fix
lovr.graphics.getBlendMode
when blending is disabled - Fix crash when moving a
Shape
when it isn't attached to a Collider - Fix issues with macOS Big Sur
- Fix text wrapping issue with lines ending in spaces
- Fix some crashes in lovr.physics to log warnings instead
Remove:
- Remove support for Oculus Go
- Remove
lua_modules
anddeps
from the default require paths - Remove
--root
command line argument - Remove
lovr.graphics.triangle
- Remove C require path (use plugins)
- Remove
enet
(use thelovr-enet
plugin) - Remove
cjson
(use thelovr-cjson
plugin) - Remove
AudioStream
(usestream
Sounds instead) - Remove
Source:getType
andSourceType
(usedecode
option of newSource/Sound) - Remove
Source:getBitDepth
,Source:getChannelCount
, andSource:getSampleRate
- Remove
lovr.audio.getMicrophoneNames
,lovr.audio.newMicrophone
, andMicrophone
- Remove
lovr.audio.update
- Remove
lovr.audio.pause
- Remove
lovr.audio.get/setVelocity
,Source:get/setVelocity
, andlovr.audio.get/setDopplerEffect
- Remove
Source:get/setFalloff
- Remove
Source:get/setPitch
- Remove
Source:get/setVolumeLimits
- Remove
Source:is/setRelative