Transparent Glass material creates weird lighting glitches from a distance

When moving a bigger distance away from transparent glass parts they create these weird lighting effects, where it looks like it is white glass lit from the inside. This happens both in-game and in studio in my game.
This happens with both atmosphere turned on and off, also happens in a default new Roblox baseplate. Started happening a couple days ago it seems.

Image of how it should look:

How it looks when I move the tiniest bit further away:

More clear image of this reproduced on a simple baseplate:

Steps to reproduce:

  • Open a new place, or any existing place with glass
  • Insert a glass part with some sort of transparency (it is more apparent with darker colours of glass and higher transparency)
  • Move further away from the glass part

repro file.rbxl (23.6 KB)

System specs if necessary:
AMD Ryzen 7 2700X
32 GB
NVIDIA GeForce RTX 2060

4 Likes

There currently appears to be a bug with the way the fallback (graphics 1 and 2 also) shader works. Unlike level 3+ it renders specular and diffuse per-vertex and not per-pixel, in a way which I think is called Gouraud.

However, there is currently a bug with how it works which appears to affect the appearance of glass, and also causes weird blotchy vertex squares to appear around meshes, cylinders and spheres, almost as if the lighting is being reversed at a distance.

The problems are both likely linked because they both appeared around the same time and only happen on quality levels 1 and 2, and at a distance when it falls back to the Gouraud shader.


This can be reproduced on quality levels 1 and 2 on ANY Roblox game.

6 Likes

Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.

3 Likes

Follow-up: this appears to have been fixed with the addition of the FFlagDoubleSidedLightingVSFix fast flag. Thanks for fixing this this quickly :smiley:

1 Like

This issue should now be resolved! If this issue is still occurring, please create a new topic for us to look into.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.