When I added 2 lights to my map for my workbench with some lights and tried playing my level, the entire lighting system broke. I quit the game and tried replicating the bug on a different map, but when I launched the game everything was pitch black, despite the sun which still appeared. This happened if there was a light on the map or not. I relaunched the game and the issue was gone. When I tried replicating the bug again, everything was fine and nothing happened to the lighting system. I changed the color of the lights to 255 240 167, the same as the color of the lights in magicavoxel, and the glitch happened again, but instead of everything turning to black, it turned into blue with some transparency, where I could still see the level but everything was blue. Right where the lights where added, there is a large square of solid blue that covers the entire map, but when I fly above it goes away, and when I go back down under the lights it's back. When I break the vox node that the light is a child of, the blue square goes away. When I launch a different map the blue tint affects the entire map minus the sun, but without the blue square which isn't there because there isn't a light. Here is a video of what happens when I play the level. I also figured out that changing the scale of the light from 1 to 3 makes the effect go black, where you cant see anything but the sun. I have uploaded a video in #modding-discussion in the teardown discord server, and my discord name is @Chev. I titled the video "teardown lighting system having a stroke.mp4"
Steps to reproduce the behavior
I make a new vox and change the object to my workbench
I change the texture of the workbench to 6 0.66
I right-click on the workbench and make a new light, so it is a child of the workbench and will go out when destroyed
I change the light to area
I rotated the light 90 degrees so that it faces down, like this: 90 0 0
I changed the size of the light so that its size is 1 voxel, or: 0.1 0.1
I changed the color of the light to 255 240 167
I change the position of the light by .5 so that it lines up with the light properly
I move the light to the correct position to match up with one of the lights on the workbench
I change the scale to 3 so that the glitch becomes black instead of blue
I copy the light to the other light from the vox
I play my mod and the graphical glitch starts.
Expected behavior
I expected for the light to be the same as when it had a color of 1 1 1 just with a different color.
Describe the bug
When I added 2 lights to my map for my workbench with some lights and tried playing my level, the entire lighting system broke. I quit the game and tried replicating the bug on a different map, but when I launched the game everything was pitch black, despite the sun which still appeared. This happened if there was a light on the map or not. I relaunched the game and the issue was gone. When I tried replicating the bug again, everything was fine and nothing happened to the lighting system. I changed the color of the lights to 255 240 167, the same as the color of the lights in magicavoxel, and the glitch happened again, but instead of everything turning to black, it turned into blue with some transparency, where I could still see the level but everything was blue. Right where the lights where added, there is a large square of solid blue that covers the entire map, but when I fly above it goes away, and when I go back down under the lights it's back. When I break the vox node that the light is a child of, the blue square goes away. When I launch a different map the blue tint affects the entire map minus the sun, but without the blue square which isn't there because there isn't a light. Here is a video of what happens when I play the level. I also figured out that changing the scale of the light from 1 to 3 makes the effect go black, where you cant see anything but the sun. I have uploaded a video in #modding-discussion in the teardown discord server, and my discord name is @Chev. I titled the video "teardown lighting system having a stroke.mp4"
Steps to reproduce the behavior
Expected behavior
I expected for the light to be the same as when it had a color of 1 1 1 just with a different color.
Environment
Additional context
No response