mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
~ | Small obj color fix
This commit is contained in:
@ -252,6 +252,7 @@ void ObjParser::parseMtl(std::stringstream &input_line, Scene &scene)
|
||||
mat->refraction = 1.0f;
|
||||
mat->roughness = 1.0f;
|
||||
mat->metallic = 1.0f;
|
||||
mat->color = glm::vec3(1.0f, 1.0f, 1.0f);
|
||||
continue;
|
||||
}
|
||||
if(!mat)
|
||||
|
Reference in New Issue
Block a user