ViewportFrame gets brighter as the camera gets further away

Reproduction Steps

  1. Run this project: Minimap.rbxl (38.2 KB)

  2. You’ll see a MiniMap:

  3. Stop and open the LocalScript:
    aHGBK9PwbN

  4. Change the camera distance (Y) on line 22, from 1000 to 20000:

  5. Run.

  6. You’ll see a brighter MiniMap:

Expected Behavior
ViewportFrame shouldn’t get brighter as the camera gets further away

Actual Behavior
As described below, ViewportFrame gets brighter as the camera gets further away:

Issue Area: Engine
Issue Type: Display
Impact: High
Frequency: Constantly

Edit

Another example:

6 Likes

The minimap’s color while far away is really close to the color of the spawn. It could be the color of the spawn or the black platform without the visual effects.

1 Like

When testing it out myself in studio, I got the same results. My guess was to try and change the Ambient, LightColor, LightDirection, or ImageColor3 as they all seemed like they could be the issue. However, I couldn’t find the issue.

I do think there is a work around though: You could scale the entire map you have to a smaller size until the brightness thing isn’t effecting anything, but that might not be ideal.

There is probably something I am overlooking, but from what I currently know, I believe this to be a bug.

1 Like

I messed around with this, and can confirm the problem stems from the ViewportFrame. Putting the objects in a WorldModel and putting that in the ViewportFrame makes no difference, so it has nothing to do with that (I figured I should try that out). No property changes fixed this either.

2 Likes

This is probably just fog.

image
photo of multiple Baseplates in different heights, from -5000 to 1800 (rightmost. only edge seen)

There aren’t any settings to change this though.

3 Likes

Just to exemplify, this is what happens when zooming (Camera.Y) on the ViewportFrame:

1 Like

Lighting effects on viewport frames are always static which means changing your lighting settings will not apply to viewport frames

3 Likes

Thanks for the report! We’ll follow up when we have an update for you.

8 Likes

Currently having the same issue, @rogeriodec_games 's reply was the best example of how this happens.

Any news?
3 months have passed.
This is an impediment to the game as there is no other alternative to remedy this problem.

2 Likes