~ | Fixing emissive texture

This commit is contained in:
TheRedShip
2025-02-02 15:16:47 +01:00
parent 328737ac4b
commit f03d48e62d
11 changed files with 73 additions and 32 deletions

View File

@ -62,6 +62,7 @@ void SceneParser::parseMaterial(std::stringstream &line)
mat->type = 0;
mat->texture_index = texture_index;
mat->emission_texture_index = -1;
_scene->addMaterial(mat);
}