HI, I’m just discovering Needle engine and was hoping to be able to have my custom 3d stereo shaders to work. Usually I would check the eye index using a global var with “unity_StereoEyeIndex” as the property name. If not possible at all from shader then I guess that 3d stereo would be feasible by script anyway?
Definitely feasible, yes, albeit I have to admit not tested from our end.
There’s a three.js sample for stereoscopic video rendering that uses camera layers:
You could do the same, but will probably have to wiggle a bit with layers since we’re also using layers 1/2 for some logic (e.g. layer 2 is raycast only)