does anyone know if its possible create a camera projection mapping unreal? (not to be confused with video projection mapping)
I would like to “capture/prerender” a scene in realtime and to project this footage from a different angle onto a simple geometry.
I made a really quick sketch of what i am trying to achieve
What you are looking for is a SceneCapture2D. There are some Components which exactly do this.
You need to setup a RenderTarget (or create it dynamically) with your specified size.
You can then reference this RenderTarget in your Material.
wow, thanks Raildex_, the SceneCapture2D works perfectly! Do you by any chance also have an idea for the projection?
The material needs to be projected from a specified camera position. in 3dsmax there are two ways to do this:
camera mapping (which manipulates the uv coordinates)
camera map per pixel (which ignores the uvw and just shoots the pixels from the cameras perspective onto the geometry)
i checked the material editor in UE, but so far i did not find a node for that.
I am not sure if this is possible.
Maybe you should try manipulating the Material’s UVs in relation to the CameraPosition and the CameraVector? UE provides Nodes for these.