SpotLightEntity shadow flickering problem

From Frozenbyte Wiki
Revision as of 10:11, 15 June 2018 by AnteroFB (talk | contribs) (Created page with "thumb|SpotLightEntity shadows flickering on and off SpotLightEntities have '''ShadowQuality''' set by default to ShadowQuality4. If there are mor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
SpotLightEntity shadows flickering on and off

SpotLightEntities have ShadowQuality set by default to ShadowQuality4. If there are more than four SpotLightEntities with ShadowQuality4 in view, the shadows will start flickering. The same applies to SpotLightEntities with lower ShadowQuality so that

  • 4 x ShadowQuality1 = 1 x ShadowQuality2
  • 4 x ShadowQuality2 = 1 x ShadowQuality3 and
  • 4 x ShadowQuality3 = 1 x ShadowQuality4

All in all there can be a maximum number of 10 shadow casting SpotLightEntities in view at the same time.