Skip to content

[demo] Version 0.1.1 binaries

Pre-release
Pre-release
Compare
Choose a tag to compare
@golxzn golxzn released this 07 Sep 06:54

Nothing special, just learnt how to push the constants to the vertex or/and fragment shader.

But actually, the list of changes is here:

  1. Changed the swap chain surface format from VK_FORMAT_B8G8R8A8_SRGB to VK_FORMAT_B8G8R8A8_UNORM, so the gamma correction was disabled;
  2. In the game_instance made the record_command_buffer method and move the command buffer creation to the render function (to apply changes from the constant stuff. It doesn't look like optimal decision);
  3. Update the shaders and add the constant uniform struct to provide transformation matrix.

Warning

I'm not sure that the linux version works! I just built it using wsl2

Full Changelog: v0.1.0...v0.1.1