Description

Shadow casting is still considered when the lighting intensity has been set to 0.

This is a regression in performance from 4.12.5 where a lights intensity that was set to 0 would not be considered, but in 4.13 and higher when the intensity is set to 0 there is not a significant return on performance. When shadow casting is disabled while the light's intensity is set to 0 you will get the FPS back.

Test project is attached that can easily reproduce this:

  • Press F to toggle the light intensity to 0 and back.
  • Press R to toggle shadow casting on and off.
Steps to Reproduce

1. Open the attached project
2. PIE
3. Enter the command Stat FPS
4. Press F to set the light intensity to 0.0
5. Press R to set Shadow Casting OFF.

Regression: Yes

Results: Shadow casting is still considered when lighting intensity has been set to 0.

Expected: Shadow casting should not be a factor when the light's intensity has been set to 0.0.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

6
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.134.14
Target Fix4.16
CreatedSep 8, 2016
ResolvedMar 24, 2017
UpdatedApr 27, 2018
View Jira Issue