Add albedo output to the raytracer
This commit is contained in:
parent
8bfe44b3cd
commit
3cc8dbc102
4 changed files with 21 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue