Dagon 0.13.0
- Core
- State for joystick buttons in
EventManager
(joystickButtonPressed
,joystickButtonUp
,joystickButtonDown
)
- State for joystick buttons in
- Rendering
- Fixed state validation failure on AMD (different sampler types for same sample texture unit). Cubemap and equirectangular environment map now use different texture units
- Assets
- Images are now loaded using callback mechanism in
AssetManager
. You can register your own loader function withAssetManager.registerImageLoader
method - Dagon now uses dlib.image to load images by default. stb_image is available through
dagon:stbi
extension. Importdagon.ext.stbi
module and register the loader withstbiRegister
function in your scene constructor:stbiRegister(assetManager);
- OBJ loader now supports quads
emissiveFactor
support for glTF materialsEntity.setRotation
- Images are now loaded using callback mechanism in
- Post-processing
- Motion blur shader now supports static radial blur - enable it with
PostProcRenderer.radialBlurAmount
. FixedEntity.blurMask
for objects rendered via forward pipeline. Mask is now used to smoothly decrease motion blur in a processed fragment, which allows to fully avoid undesirable blur leaks inside entities withblurMask
property set to0
- New properties to control lens distortion effect:
PostProcRenderer.lensDistortionDispersion
,PostProcRenderer.lensDistortionScale
- Motion blur shader now supports static radial blur - enable it with
- Extensions
dagon.ext.physics
was removed in favour ofdagon.ext.newton
NewtonRigidBody.addForceAtPos
now works correctly. AddedNewtonRigidBody.centerOfMass
NewtonConvexHullShape
is now created fromTriangleSet
instead ofMesh
- Fixed compilation of
dagon.ext.iqm
. AddedActor.blendSpeed
property. SwitchingActor
animation to the same frame range as the current one now doesn't cause loop reset
- Debugging tools
- Shader programs are now validated against current OpenGL state in debug mode. Invalid shader causes application exit
- Debug output messages are now more informative, they include textual definitions of message source, type and severity instead of numeric constants. Issues with high severity cause application exit.
- Misc
- Dagon now uses dlib 1.0.0.