Need help with lights

Using Color3:lerp() I could maybe achieve what I want.

https://gyazo.com/16a357b479b6b2c6ce3025804ceaddb1

would something like this work?

You can use game.Lighting fog properties to do this, if you wish to, by making fogstart and fogend property equal.

1 Like

Yes! That’s exactly what I want. One problem is that maybe it won’t work when looking from above. I have a custom camera placed almost above the player with some offset on X and Z axes. Will it work from the above?

Yes, but the fog would only work for first person.

not sure but i can send u the model to try for your self

Btw i used inverse parts. They are basically parts that are flipped inside out
Dev Forum.rbxm (30.9 KB)

Okay, thanks.

eee

i messed around with these alot when i was making cell shading, so feel free to ask any questions

Hmm, have you tried atleast? I think it should do well even for non first person

I haven’t tried it, but I’m sure it wont work if the camera is like 40 studs away from the player object.

you can size the circle to any size

i used it for a first person horror game i was commissioned for a while ago, So i do know that it works best in First person

Maybe instead of a hollow sphere, maybe a hollow cylinder can be used, so the top isn’t blocked from view

That could do better, but the camera isn’t perfectly above the player, it’s offset on the X and Z axis so you couldn’t see the “custom fog made from the hollow cylinder” at every side.

Can you send screenshots of the offset?

Just like in the video he sent us, he could see through the front side.

while inside the circle you cant see anything outside of it

I can’t upload the image :/. I’ve however made a topic a while ago, where you can see my game and the camera’s offset. Look at my second newest topic.

Using decals is possible to show everything only on one side meaning the parts could be entirely transparent with no issue