rt(gl): load luts with topleft origin due to MVP changes

This commit is contained in:
chyyran 2024-03-03 02:16:45 -05:00 committed by Ronny Chan
parent d72519b9fd
commit e02e1ae26a
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ impl LoadLut for Gl3LutLoad {
let images = textures
.par_iter()
.map(|texture| Image::load(&texture.path, UVDirection::BottomLeft))
.map(|texture| Image::load(&texture.path, UVDirection::TopLeft))
.collect::<std::result::Result<Vec<Image>, ImageError>>()?;
for (index, (texture, image)) in textures.iter().zip(images).enumerate() {

View file

@ -25,7 +25,7 @@ impl LoadLut for Gl46LutLoad {
let images = textures
.par_iter()
.map(|texture| Image::load(&texture.path, UVDirection::BottomLeft))
.map(|texture| Image::load(&texture.path, UVDirection::TopLeft))
.collect::<std::result::Result<Vec<Image>, ImageError>>()?;
for (index, (texture, image)) in textures.iter().zip(images).enumerate() {