Skip to content

Conversation

@Aurora-Bee
Copy link
Contributor

If you tried to follow this section of the tutorial now, it wouldn't result in the desired outcome. The post-processing shader wouldn't be applied.

In the code example of that section the vertices are arranged clockwise, which creates a mesh that faces the camera. However, the same article also states, that for QuadMeshes you need to flip the faces by enabling "Flip Faces", so it turns away from the camera. To fix this I rearranged some of code so the vertices are arranged counter-clockwise, which flips the normals around too and resolves the issue.

Note: My formatter also managed to catch and delete some leading whitespaces, which seems to align with the rest of the document's format. If this isn't wished for I can revert those and only leave in the code changes.

Hope this will help some people :)

@Calinou Calinou added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:shaders cherrypick:4.5 labels Dec 3, 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 88ff50b into godotengine:master Dec 4, 2025
1 check passed
@mhilbrunner
Copy link
Member

Thank you for contributing! Merged.

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 bug cherrypick:4.5 topic:shaders

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants