Eye-dependent rendering

Is it possible to have object texture that is different for each eye? Or maybe having a eye index information in the shader?

With rendering slightly different colors for each eye, you can achieve extremely satisfying visuals (iridescence/holographic-like) or increase perceptual contrast where it is needed.

Answered by in 763079022

Hello! You can actually make use of the "Camera Index Switch (RealityKit)" node for this purpose, which has 3 inputs: Mono, Left and Right. Just make sure to use the proper type for your needs, which you can select from the righthand side inspector panel.

Do note that the simulator will always make use of the Mono value. Left and Right values are only used on device.

Accepted Answer

Hello! You can actually make use of the "Camera Index Switch (RealityKit)" node for this purpose, which has 3 inputs: Mono, Left and Right. Just make sure to use the proper type for your needs, which you can select from the righthand side inspector panel.

Do note that the simulator will always make use of the Mono value. Left and Right values are only used on device.

This is awesome! Thank you very much.

I'll wait for the device then. 😎

Eye-dependent rendering
 
 
Q