Does anyone know a good way to detect when a scene capture 2d is capturing a material, as oppose to the material being viewed through the player camera?
I have a couple of meshes with quite expensive displacements (landscape and ocean) and I would like to show them differently to a scene capture.
When viewing the material through a scene capture, the CameraPosition node always returns exactly 1 for the height component, regardless of the actual world location height of the scene capture.
The CameraDirectionVector node does seem to return the correct value, so you can filter on specific values of the Z component like 0.99
Obviously these conditions may also be satisfied by the player camera when it’s location is exactly Z=1 or the camera vector matches, so they are not an ideal solution.
Just wondering if there’s a better way to do this…