Skip to content
Snippets Groups Projects
Commit 13829265 authored by Yoel's avatar Yoel
Browse files

Fixed some texel bug

parent 61136405
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ util::Vec3 BackgroundMaterial::albedo(float texel_x, float texel_y) const {
return util::Vec3(1, 1, 1);
}
util::Vec3 BackgroundMaterial::emission(float texel_x, float texel_y) const {
return texture->color(texel_x, -texel_y);
return texture->color(texel_x, texel_y);
}
util::Vec3 BackgroundMaterial::scattered_d(const util::Vec3& d,
const util::Vec3& n) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment