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 14, 2022
1 parent 21fd731 commit 5369d92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ void ERS_CLASS_DepthMaps::UpdateDepthMaps(ERS_STRUCT_Shader* DepthShader) {

// Check If Light Has DepthMap
if (!Light->DepthMap.Initialized) {
Light->DepthMap = GenerateDepthMap();
Light->DepthMap = GenerateDepthMap(6);
}

// Render To Depth Map
Expand Down

0 comments on commit 5369d92

Please sign in to comment.