Lighting in the scene

Hi Currently I am building a project and I need to darken the whole scene and light a specific part of it, so how can I do that?

You might try this example I made. It would be the opposite of the cave scene. As the distance between the camera and the ‘specific part’ decreases, you would reduce opacity…
I can answer any questions.

Can you include the link of this work to see it so that the picture becomes clearer

I apologize. I forgot to include the link.

2 Likes

You are really amazing
Thank you

can you share the code?

If you remix the project, you will see the code.