
[ad_1]
In Unreal Engine 4.27 I’m at present attempting to create a fabric (shader) that maps a texture onto a quad utilizing the display house coordinates from a particular digital camera. If I’m utilizing the present lively digital camera ScreenAlignedUvs node works good. The drawback nonetheless is that in my scene I’ve 2 cameras, one whose display house uvs might be used when rendering the feel, and the opposite which can wants to make use of the UVs of the primary digital camera. For illustration functions you possibly can image the mesh that is utilized to as a TV display which seems to be like a standard TV to everybody aside from one particular person which the TV seems to comply with. To this particular particular person the TV principally seems to be a portal. The image under is a tough drawing of the instance (Red is the particular particular person and their view, Blue is a standard particular person, Black is the TV, Green are the u a part of the uv coordinates).
I’d additionally wish to level out that I’m conscious there might be points when the primary digital camera will not be viewing components of the mesh that’s seen to secondary cameras. In this case I feel it’s truthful for the UVs to be undefined/random.
[ad_2]