foundryvtt / foundryvtt

Public issue tracking and documentation for Foundry Virtual Tabletop - software connecting RPG gamers in a shared multiplayer environment with an intuitive interface and powerful API.
https://foundryvtt.com/
235 stars 9 forks source link

Framerate performance issues with new lighting system when encountering lights with a large radius or global illumination which creates a large visible geometry to render. #3712

Closed aaclayton closed 3 years ago

aaclayton commented 3 years ago

Originally in GitLab by @Extremius

Environment Details

Issue Description

FPS drops when the camera approaches with the mouse wheel, if there are huge light sources on the scene (the light shown in the screenshots with parameters 40/80 and an angle of 60). The fall in FPS occurs sharply when approaching a certain percentage. The fall occurs the same with a large number of light sources

Example scene (avr FPS 45) image Huge light source image Before scaling view image After scaling view image After scaling view with disabled huge light image

aaclayton commented 3 years ago

Thanks for the report, this is a major known issue that I'm currently actively working on. I hope to have a resolution posted in Discord soon.