Are fog walls possible?

I want to make a fog wall for my game, so players can’t see into the fog, and players on the other side can’t see lighting through the fog wall.

I want something like this:


but with hiding the part, hence it being a fog wall. problem is it just lets light passthrough.
The problem :

I haven’t really found any solutions to this, I’ve tried changing the part to get affected by shadows, hasn’t really done anything at transparency 1 though.
I also tried seeing if the particles had a shadow option but they don’t… which makes sense.

Is there any way around this, and if not could we get a lighting feature on parts that allows shadows even on fully transparent objects?

ty for reading to the end.

2 Likes

Have you tried using Future Lighting and then placing a wall part hidden inside the fog wall to stop the light from passing through?

This may not work for your game, but Elden Ring has a fog wall system that’s cleverly made. It features a textured wall with a mist particle effect coming out of it for added depth.

When the player uses the gate by pressing a button, the wall then has collisions disabled, allowing the player to walk through.

1 Like

I may say a nonsense but you could decrease the range of the light

1 Like

Can you use a Part in the Particles, the size you need, with CastShadow true and with a BlockMesh in it with Scale set to .001,.001,.001?
Someone suggested it in another Post but I can’t remember which so I don’t know who to give credit to.

the light should have a shadow option
Schermata 2023-01-04 alle 13.01.00

I understand this yes, but I’m trying to make a light not pass through the wall, I don’t want a part in the middle of the fog wall. The thing I’m trying to do is for the particles to cover the light, If I could have a part with transparency set to 1 and still have it block light that would be ideal, but it doesn’t seem to be possible.

Is you set Shadow to true it should solve the problem, as it worked for me