Problem when expand the game window

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DarlesLSF

Hello all, my game is 640x480 with these configs:
This is when I maximize the windows
Here the configs

How can I remove these gray bars?

Which Stretch Aspects (ignore, keep, keep width, keep height, or expand) have you tried? One of those modes would remove the gray bars, but at a cost of precise resolution and scaling.

Ertain | 2019-09-15 23:21

How did you make this black background?

Zylann | 2019-09-16 12:38

just a black image haha

DarlesLSF | 2019-09-17 02:25

The grey bands don’t exist then. The Expand scaling mode is not supposed to have them. They are here instead because your black image doesn’t extend that far. How about this: I suggest you remove that black image and simply set your background color as black :slight_smile:

Zylann | 2019-09-17 17:20

How can I do that? Idk atm haha

DarlesLSF | 2019-09-18 00:12

Project Settings → Rendering → Environment → Default clear color

Zylann | 2019-09-18 01:12