De-Panther / unity-webxr-export

Develop and export WebXR experiences using Unity WebGL
https://de-panther.github.io/unity-webxr-export/
Apache License 2.0
1k stars 106 forks source link

Eye Index doesn't give the good value. #377

Open xjorma opened 3 weeks ago

xjorma commented 3 weeks ago

Describe the bug The Eye Index node return the same value for both eye

To Reproduce place a Eye Index node in your shader, the result is the same for both eye :( image

Expected behavior The result should be different 0 for left 1 for right. This feature is needed for example to play stereo video on a 3d mesh

Exemple https://xjorma.itch.io/barracuda Here the video is flat it's supposed to be 3d. It works well in native. Could provide the code if needed.

**Unity info

**Headset