Skip to content

Commit

Permalink
Add Shader Support For Emissive Maps (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 13, 2022
1 parent 376404c commit de71f53
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void ERS_FUNCTION_DrawMesh(ERS_STRUCT_Mesh* Mesh, ERS_STRUCT_OpenGLDefaults* Ope
} else if(Name == "texture_shininess") {
Number = std::to_string(ShininessHandle++);
Type = 15;
HasShininess = true;
} else if(Name == "texture_specular") {
Number = std::to_string(SpecularHandle++);
Type = 16;
Expand Down

0 comments on commit de71f53

Please sign in to comment.