F16 tex fix
This commit is contained in:
parent
95ad5625a9
commit
09475ed28f
2 changed files with 7 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue