mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
~ | Fixing emissive texture
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user