Open valleymouth opened 1 month ago
https://github.com/PacktPublishing/Mastering-Graphics-Programming-with-Vulkan/blob/a03272b227a64a85a7b32b89ee5362671835f7d6/source/chapter2/shaders/main.frag#L139
Should be : if (textures.y != INVALID_TEXTURE_INDEX) {
if (textures.y != INVALID_TEXTURE_INDEX) {
Indeed, thanks for spotting this! I'll push a fix shortly :)
Awesome, learning a lot from the book btw :)
https://github.com/PacktPublishing/Mastering-Graphics-Programming-with-Vulkan/blob/a03272b227a64a85a7b32b89ee5362671835f7d6/source/chapter2/shaders/main.frag#L139
Should be :
if (textures.y != INVALID_TEXTURE_INDEX) {