I have no idea why or what’s causing this, everything worked fine up until recently.
New code, i guess.
Can you provide us information what is CopyTexture with LightMap & SkyLight ?
Could we get the microprofiler file and some information about what device this is running on please?
microprofile-20250927-173619.html (2.9 MB)
Im running this on a Windows 10
CPU: Ryzen 5 4500
GPU: RTX 2060
RAM: 16GB
Hi, we’re seeing this in Glacier Rebirth [:] - Roblox as well, causing frames to be locked at the 60-80 range…
Disabling lights, setting Decals and Textures transparency to 1, and moving Clouds out of Terrain had no impact. I believe this might be related to Terrain overall, which would mean I can’t do anything myself to remediate this issue considering that the Terrain and the map are an essential part of the gameplay.
Tested on Windows 11, PC.
Edit: Made a bug report about this so that it can receive the appropriate internal tracking!
The maximum copy texture lightmap and skylight is like 0.009ms in a frame. I don’t see a performance issue here persay.
I’ve looked a bit into it and here’s what i found out:
- GlobalShadows doesnt change much;
- Setting the LightingStyle to Soft helps alot, less ~200 shadow draw calls compared to Realistic and even less if PrioritizeLightingQuality is disabled;
- Reducing the graphics also reduces the shadow draw call by alot;
- Disabling Terrain decoration reduces shadow draw calls by ~150;
- For some reason in my game, whenever i equip a gun the shadow draw call increases by ~200-300 despite having cast shadow disabled.
Do keep in mind that i’ve pretty much done everything possible related to shadows and depth calls, i’ve disabled unused beams, trails, decals, textures, etc. And i’ve disabled shadows on all lights and baseparts.
Really tough to say if anything has regressed from the data so far. You are also doing what seems to be the right thing for optimizations already.
We do have plans on improving performance in general of the renderer including lighting systems.
Here’s another video showcasing the issue:
Watch robloxlightingperformanceissue | Streamable
Keep in mind that this never happened before the new lighting & culling updates.
I just find this very frustrating because it kills my game’s performance despite all the attempts at fixing the issue.
I can take a look if you can DM a repro placefile with repro steps.
Solution
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
