itch.io is community of indie game creators and players

Devlogs

Thanks to Construct community funding - GPU Skinning

Construct 3 3DObject Plugin - SDK V1 only
A browser asset pack made in HTML5

Thanks to the following contributors and Construct Community Collective for funding the release of a major update: GPU skinning support for worker animation and non-worker animation.

  • Adamantium: Skymen
  • Platinum: PixelMetal
  • Gold
  • Silver: Linus
  • Bronze: Galiano
  • Contributor: Federico, Hayo

Remove the main.js that was previously required for fragment lighting.

This update provides performant skinning animation supporting using GPU instead of the CPU (which the GPU is very good at), it also lowers the transfer of data between CPU and GPU and stores vertex and animation data on the GPU, so it is not needed to be transferred every frame as C3 typically does for rendering. Not sending data improves CPU and GPU performance.

Only use GPU Skinning or Static Geometry do not mix the setting on an object/instances. It is ok to enable and disable the setting, but generally should be enabled and not changed.

This is a fairly major change for animation, so there may be issues. Please report problems related to this change and a test project which shows the issue.

This update also automatically update the vertex shader to work with GPU skinning and Fragment lighting, so that any 3DObject or frag light js code in main.js is not required anymore (if you don't have any other changes in main.js, you can remove it from the project.)

This only supports webGL2 and webGL2 will be the focus going forward. I have not see a big improvement in performance with webGPU with C3.

Files

  • 3DObject-2-68-1.c3addon 120 kB
    Aug 15, 2024
Download Construct 3 3DObject Plugin - SDK V1 only
Read comments (6)