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 950b9b6 commit e27d7a4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ void ERS_CLASS_DepthMaps::UpdateDepthMap(ERS_STRUCT_PointLight* Light, ERS_STRUC

glViewport(0, 0, DepthTextureArrayWidth_, DepthTextureArrayHeight_);
glBindFramebuffer(GL_FRAMEBUFFER, Light->DepthMap.FrameBufferObjectIDs[0]); // fix this later


glClear(GL_DEPTH_BUFFER_BIT);
glActiveTexture(GL_TEXTURE0);
Renderer_->RenderSceneNoTextures(TargetScene, DepthShader);
Expand Down

0 comments on commit e27d7a4

Please sign in to comment.