Ambiental depth buffer not rendering correctly

Currently, there is a big rendering problem going on,

most likely caused by a depth buffer issue exclusively or combined with an additional one regarding ambient occlusion.

I have encountered this unreported rendering bug, located deep within the engine, when joining any place.

The issue manifests as static artifacts appear when moving, especially when rotating the camera. These artifacts are subtle and not even recognized by recording software like OBS, but you can clearly see them in person.

Altough I haven’t frequently played games in the past few months, I have consistently noticed this glitch whenever I did. My drivers are fully up to date and function correctly in other programs, including Roblox Studio’s playtesting mode. However, the issue only appears when launching the Roblox Player.

Given the observations, I believe this is an engine-related issue affecting specific devices, likely tied to the computer platform.

https://drive.google.com/drive/u/4/folders/1uWuAQMglTnDwNGLp6fEgN-ybnTUhffJZ
This first impression of the attached video seems rather innocent, but the glitch artifacts become evident towards the end of it.

Expected behavior

Artifacts like this shouldn’t appear, because altough recording software barely recognizes them, they are highly noticeable to the user and significally ruin their experience. I expect the final result to match its original, as it still does on correctly rendered devices.

Personally, these artifacts break the connection between the actual output and the perceived result, which is the most crucial factor when engaging with the experience as a user. For this reason, I consider this bug report a high priority.

A private message is associated with this bug report

Hi Daytern,

Thank you for reporting this issue.
Unfortunately, I wasn’t able to perceive the issue via the Google Drive video you linked - do you mind explaining what I should be looking for and providing any repro information (repro file + repro steps)?

Or please let us know if this is no longer happening.

Thank you,
M0bsterLobster

I’m glad you’re looking into this mobsterlobster,

to see it in the previous video, you have to focus on the sky near the end of as these are not artifacts from the screen recording, but actual visual issues occurring during the game session.

Here’s another video where you can see them even more clearly - I’ve highlighted a few for easier spotting:
https://drive.google.com/drive/folders/1UjOdYnDZ5O3SD7Z2njhA0mnZix7Nw5Pw?usp=drive_link

It’s not trivial to reproduce this issue, but here are 5 steps that increase the likelyhood of encountering it:

  1. Join any game using the Roblox Player on PC
  2. Use a curved monitor
  3. Play in fullscreen mode - I noticed they won’t appear when fullscreen is turned off
  4. Create a lot of camera/character movement
  5. Control camera movement with the arrow keys as the artifacts become more noticeable

I found out that graphic settings, framerate adjustments or the reduce motion effects setting have no influence on it.

This just looks like typical screen tearing.

I don’t believe this is an issue related to the depth buffer at all. Like @gdadnh said it’s definitely screen tearing, which stuff like VSync is designed to fix. Roblox probably doesn’t have VSync included in whatever graphics library your player is using due to the tradeoff between visuals and reduced FPS.

Overall, I’d say this is more an issue with the monitor rather than Roblox itself, so maybe try messing with its refresh rate settings or Roblox FPS settings.

It has in fact many elements of screen tearing in it, but as the article linked by @gdadnh also says, the fix often lies in the rendering engine itself.

I tried different refresh rates, frame rates and graphic settings and the result was always similar, but what really gave it away that it must be a rendering problem is that the problem only occurs in fullscreen mode and completely disappears in windowed mode.

Together with @gdadnh you reduced the problem further to its essence, so let’s see if we can find a solution with @m0bsterlobster.

1 Like

Hi Daytern,

Unfortunately, I agree with the folks above - this seems like screen tearing which is usually caused by a desync between your monitor’s refresh rate the graphic card’s frame rate… I think this should be addressed via adjusting your display setting and/or using something like V-sync.

I’ll be setting this report to closed since it doesn’t seem to be a rendering bug but once again, thank you for taking the time to report this bug. I’m sorry to throw the bug back at you…

Best,
M0bsterLobster

So I manually went into my GPU control panel, clicked on 3D settings, selected RobloxPlayerBeta.exe and set Vertical sync to On.

After testing and adjusting, the issue is now resolved in fullscreen mode, so it seems the graphics driver didn’t fully detect the right settings.

Thank you for your assistance,
Daytern