Projecting textures on to surfaces using light

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sxkod

Hi

Hope I don’t sound high!!

I don’t know if this is even possible either in godot or even in other engines. I am curious to see if the following is possible.

I want to project a texture on to the whole 3D camera view and let that texture effect the characteristics of what it hits. An example might be more meaningful than by rambling.

Let’s say I add a mandelbrot rendering 2d JPG as a texture to the lamp and make it a child of the camera. Player is standing on a surface, in first person, surrounded by buildings. When I turn this lamp on, it should project the image as a texture on to the surfaces that the light hits. I want to effect one or more of the parameters of the surface the image pixels hit - for eg - normals or emit or roughness or some other.

I know I can add the texture to the surface material of any mesh and modify it there but then it won’t be a coherent modification of the view point but will be individual and overlapping modification.

Thanks a bunch