Code setting ambience to INCREDIBLY high numbers

So, in this game that I am making, there is a lobby, and a match. You can enter an elevator through the lobby, which teleports you to the match and loads map depending on what elevator you entered.

This works fine, the map loads normally and stuff, but since the maps vary so much in looks, I changed the lighting.

For some reason, instead of changing the values to my desired ones, those being in the screenshot below:

image

It changes to these absurd ones:

image

No clue why it’s happening. Any help is appreciated, thanks.

Color3.new’s args all need to be between 0 and 1. You can either divide each arg by 255, or you can use Color3.fromRGB instead

Oh.

I feel like I should’ve known that.

Anyways, thanks for the help.

2 Likes

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