travisvroman / kohi

A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

Home Page:https://kohiengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Add support for 1-, 2- or 3-channel textures.

travisvroman opened this issue · comments

Currently, the engine only supports 4-channel textures. This is not always needed or wanted. Add support for the following texture configurations:

  • 1-channel (R8)
  • 2-channel (R8B8)
  • 3-channel (R8B8G8)

While at it, change default textures (default, default diffuse, default specular and default normal) to use 3-channel textures.