Now I know I won’t be able to use the actual lights to reveal the object but the idea is to make it look like that is happening.
So the idea is that the player will have a torch and in the levels, there will be different coloured lights that the player can redirect to solve the puzzle. All of these lights will reveal different objects in the room based on the colour they are. So a red, blue, green, yellow etc light will each have their own objects they can reveal in the room. (Kind of like an Ultra Violet light but for an object instead of text.) So I was wondering if anyone knew how I could do this. Also, I know about raycasting but what I’m going for is the effect that the lights are revealing the objects slowly as opposed to them just appearing and disappearing instantly when the light hits or leaves it.

