Skip to content

Commit

Permalink
Implement Point Light Shadows (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Jun 21, 2022
1 parent 1c14e26 commit c8bc155
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ void ERS_CLASS_DepthMaps::UpdateDepthMaps(ERS_STRUCT_Shader* DepthShader, ERS_S
// Check If Light Has DepthMap
if (!Light->DepthMap.Initialized) {
Light->DepthMap.DepthMapTextureIndex = AllocateDepthMapIndexCubemap();
std::cout<<Light->DepthMap.DepthMapTextureIndex<<std::endl;
Light->DepthMap.Initialized = true;
}

Expand Down

0 comments on commit c8bc155

Please sign in to comment.