Files
godot-docs/tutorials/shaders/shader_reference
Ted Gignac 304d1070f2 Add details on the shader's eye position built-ins
Changed descriptions for CAMERA_POSITION_WORLD and EYE_OFFSET to benefit XR developers.
I decided to make this pull request because my dad spent a while trying to get the eye positions correct, eventually finding  that CAMERA_POSITION_WORLD is the same for both eyes, and later that the EYE_OFFSET is not in world space.
My dad and I were almost led to believe that the perspective artifacts we saw with our custom shader were due to an optimization in the headset, and that we would have to work around it in our game, but it has since been fixed.
2025-10-02 15:54:07 +02:00
..
2024-12-29 13:44:09 -08:00
2024-12-29 13:44:09 -08:00