Add albedo output to the raytracer

This commit is contained in:
IlyaShurupov 2024-06-18 15:45:51 +03:00
parent bafe6a7f43
commit 3d09f86258
4 changed files with 21 additions and 9 deletions

View file

@ -74,9 +74,10 @@ void renderCommand(const std::string& scenePath) {
std::cout << "\nRender finished with average render time per sample - " << (end - start) << " (ms)\n";
writeImage(output.normals, "normals.png");
writeImage(output.normals, "normal.png");
writeImage(output.color, "color.png");
writeImage(output.depth, "depth.png");
writeImage(output.albedo, "albedo.png");
}
int main(int argc, const char** argv) {