Skip to content

Conversation

civilisedzombie
Copy link
Contributor

Changed descriptions for CAMERA_POSITION_WORLD and EYE_OFFSET to benefit XR developers.

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.
@Calinou Calinou added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:shaders cherrypick:4.4 cherrypick:4.5 labels Sep 26, 2025
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@mhilbrunner mhilbrunner merged commit a8fd888 into godotengine:master Sep 26, 2025
1 check passed
@mhilbrunner
Copy link
Member

Thank you! Merged.

@mhilbrunner
Copy link
Member

Cherrypicked to 4.5 in #11337 and to stable in #11338.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.4 enhancement topic:shaders
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants