Skip to content

Conversation

@PoolloverNathan
Copy link
Contributor

Closes #7006.

This pull request deletes the text about migrating preprocessor directives, and replaces it with a grouped list of preprocessor directives (define, if, include, and pragma).

…ting macros with a short list of supported macros
@mhilbrunner mhilbrunner added enhancement topic:rendering area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Mar 19, 2023
@bitsawer
Copy link
Member

I would probably shorten the text to simply mention that Godot has a shader preprocessor and then point to the actual preprocessor documentation (https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/shader_preprocessor.html). This way we only have maintain one page when adding or changing preprocessor features.

Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

I think it is fine as-is. The full preprocessor doc is pretty large and doesn't quickly provide the information that is needed by this doc

@mhilbrunner mhilbrunner merged commit 2de3798 into godotengine:master Jun 2, 2023
@mhilbrunner
Copy link
Member

Thank you and congrats on your first merged contribution to Godot's documentation! 🎉

mhilbrunner added a commit to mhilbrunner/godot-docs that referenced this pull request Aug 1, 2023
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 enhancement topic:rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Converting GLSL to Godot shaders/Macros: Outdated information about defines

4 participants