mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Parsing textures
This commit is contained in:
@ -270,6 +270,7 @@ void ObjParser::parseMtl(std::stringstream &input_line, Scene &scene)
|
||||
}
|
||||
if(mat)
|
||||
{
|
||||
mat->texture_index = -1;
|
||||
scene.addMaterial(mat);
|
||||
_matNames[matName] = scene.getMaterialData().size() - 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user