F16 tex fix

This commit is contained in:
Jorijn van der Graaf 2026-04-01 08:36:12 +02:00
commit 09475ed28f
2 changed files with 7 additions and 6 deletions

View file

@ -65,7 +65,7 @@ int main(int argc, char** argv) {
}
else if (extension == ".png") {
// Load PNG as TextureAsset
auto texture = TextureAsset<Vector<_Float16, 4, 0>>::LoadPNG(inputPath);
auto texture = TextureAsset<Vector<_Float16, 4, 4>>::LoadPNG<_Float16>(inputPath);
texture.Save(outputPath);
}
else {