diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-17 12:14:35 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-17 12:14:35 +0000 |
commit | cbc94ed8572cd4ea4e22ad5437b54eea055235d9 (patch) | |
tree | 8fe8d0016124f7e4fa19a72a6fe6c9ea48b6ab2c /test/test-render.cpp | |
parent | Use a separate framebuffer for illumination phase (diff) | |
download | ilt-cbc94ed8572cd4ea4e22ad5437b54eea055235d9.tar.bz2 ilt-cbc94ed8572cd4ea4e22ad5437b54eea055235d9.tar.xz ilt-cbc94ed8572cd4ea4e22ad5437b54eea055235d9.zip |
Use 32bit integer texture for position render data
Diffstat (limited to 'test/test-render.cpp')
-rw-r--r-- | test/test-render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp index e2797a4..66b4d46 100644 --- a/test/test-render.cpp +++ b/test/test-render.cpp @@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE(basic) { std::filesystem::create_directories(prefix); Texture::save(gAlbedoSpec, (prefix / "albedo.tga").c_str()); - Texture::save(gPosition, (prefix / "position.tga").c_str()); + Texture::savePosition(gPosition, (prefix / "position.tga").c_str()); Texture::saveNormal(gNormal, (prefix / "normal.tga").c_str()); Texture::save(gIllumination, (prefix / "illumination.tga").c_str()); } |