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 9e46af4 commit b55c75b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@ void ERS_FUNCTION_DrawMesh(ERS_STRUCT_Mesh* Mesh, ERS_STRUCT_OpenGLDefaults* Ope
} else if(Name == "texture_normal_camera") {
Number = std::to_string(NormalCameraHandle++);
Type = 11;
HasNormalCamera = true;
} else if(Name == "texture_normals") {
Number = std::to_string(NormalsHandle++);
Type = 12;
HasNormals = true;
} else if(Name == "texture_opacity") {
Number = std::to_string(OpacityHandle++);
Type = 13;
Expand Down

0 comments on commit b55c75b

Please sign in to comment.