How to remove shadows caused by the sun

I’m making a chess game and I’ve come across a problem when making the map of it. The sun is lighting up certain parts of the map and not others. Here’s what I mean:

In the picture above you can see that the wall on the right is significantly darker than the wall on the left despite both walls being completely identical in properties. This is because of the game’s natural lighting system. I’ve tried changing the time of day to be 12 so that the sun is directly above everything but this only results in both walls being dark like the right wall.

How do I make the walls look identical while also maintaining the intended look of the walls? Is there a way to remove the shadow of the right wall?

2 Likes

Just select everything you don’t want to have a shadow, and toggle off cast shadow under the properties.

2 Likes

Cast shadow is already turned off for all of the parts. That property toggles shadows on the ground but oddly enough not the shadows on the part itself.

Have you looked into Lighting | Roblox Creator Documentation?
Also check Lighting | Roblox Creator Documentation.

I might be wrong but i think in the lighting there’s a property called “GlobalShadows” it will surely fix your problem

1 Like

Try using Lighting.GlobalShadows

1 Like

@Scottifly @capsori @Sniper_OO1 Global shadows was off by default. I turned it off and back on to see if anything changes but everything is still completely identical regardless of it being on or off.

Are you sure everything has cast shadow turned off?

Yup, highlighted every part in the game and it gave me a unanimous unchecked box.

Hmmmm, sorry, but I really don’t know what to do. If I have some time later, I’ll try it in one of my worlds and see if I can find anything.

1 Like

Did you try changing the lighting mode to Compatibility? Maybe that will help.

I’ve played around with all the lighting technology and none of it fixes the problem.

That doesn’t look like it’s shadows in the sense that you’re thinking about. It looks like a regular side effect of the lighting formula.

Diffuse and specular lighting, the lighting that occurs as a result of light reflections (not the same as perfect reflectors like mirrors), only happens on the surfaces that are exposed to the light source. Anything that is facing away from the light source will only receive indirect bounce lighting/global illumination (if the engine supports it) or ambient lighting.

The left wall seems like it is brighter because it is directly exposed to the sun (facing towards the sun), so it is receiving and returning diffuse & specular lighting. The right wall is blocked from the sun (facing away from the sun) on the visible side so it only receives ambient lighting.

There are a few different ways to try and tackle this that I can see:

  • Rotating the board so both walls are exposed to the sun
  • Changing the colors of the walls to offset the energy loss from lack of direct sun light
  • Blocking off the sun entirely & using light objects to evenly light up both walls from inside manually
  • Accepting the difference in wall shades as a part of the art style because it is the way the lighting engine works
  • Blocking off the sun light entirely & bumping up the ambient lighting to make up for it could also work at the expense of the appearance of being 3D
3 Likes

OutdoorAmbient… try making it white. This isn’t a shadow problem, it’s an ambient lighting problem.


10 Likes

Select the part casting the shadow, go into its properties and turn of cast shadow