Jump to content

Leadwerks Game Engine 5 Beta Update

JoshMK

361 views

An update is available for beta testers.

What's new:

  • GLTF animations now work! New example included. Any models from Sketchfab should work.
  • Added Camera::SetGamma, GetGamma. Gamma is 1.0 by default, use 2.2 for dark scenes.
  • Fixed bug that was creating extra bones. This is why the animation example was running slow in previous versions.
  • Fixed bug where metalness was being read from wrong channel in metal-roughness map. Metal = R, roughness = G.

Texture definitions in JSON materials are changed, but the old scheme is left in for compatibility. Textures are now an array:

{
	"material":
	{
		"color": [ 1, 1, 1, 1 ],
		"emission": [ 0, 0, 0 ],
		"metallic": 0.75,
		"roughness": 0.5,
		"textures":
		[
			{
				"slot": "BASE",
				"file": "./wall_01_D.tex"
			},
			{
				"slot": "NORMAL",
				"file": "./wall_01_N.tex"
			}
		]
	}
}

The slot value can be an integer from 0-31 or one of these strings:

  • BASE
  • NORMAL
  • METALLIC_ROUGHNESS
  • DISPLACEMENT
  • EMISSION
  • BRDF

Bugs:

  • FPS example menu freezes. Close window to exit instead.
  • Looping animations are not randomized so the animation example will show characters that appear identical even though they are separate skeletons animating independently.
  • Unskinned GLTF animation is not yet supported (requires bone attachments feature)
  • Like 4


0 Comments


Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...