Skip to content

Add missing method reference in ShaderMaterial.set_shader_parameter documentation#114262

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
MadeScientist:master
Jan 6, 2026
Merged

Add missing method reference in ShaderMaterial.set_shader_parameter documentation#114262
akien-mga merged 1 commit intogodotengine:masterfrom
MadeScientist:master

Conversation

@MadeScientist
Copy link
Contributor

@MadeScientist MadeScientist commented Dec 21, 2025

Reference:

Set the value of a shader uniform for this instance only ([url=$DOCS_URL/tutorials/shaders/shader_reference/shading_language.html#per-instance-uniforms]per-instance uniform[/url]). See also [method ShaderMaterial.set_shader_parameter] to assign a uniform on all instances using the same [ShaderMaterial].

Set the value of a shader uniform for this instance only ([url=$DOCS_URL/tutorials/shaders/shader_reference/shading_language.html#per-instance-uniforms]per-instance uniform[/url]). See also [method ShaderMaterial.set_shader_parameter] to assign a uniform on all instances using the same [ShaderMaterial].

@MadeScientist MadeScientist requested a review from a team as a code owner December 21, 2025 13:36
@MadeScientist MadeScientist changed the title Add missing method reference in ShaderMaterial.set_shader_parameter Add missing method reference in ShaderMaterial.set_shader_parameter documentation Dec 21, 2025
@Chaosus Chaosus added this to the 4.6 milestone Dec 26, 2025
@MadeScientist MadeScientist requested review from a team as code owners December 31, 2025 03:28
@MadeScientist MadeScientist requested a review from a team December 31, 2025 03:28
@MadeScientist MadeScientist reopened this Dec 31, 2025
Copy link
Contributor

@lyuma lyuma left a comment

Choose a reason for hiding this comment

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

I approve of this simple but helpful doc change.

Directing people to CanvasItem.set_instance_shader_parameter is good for performance

@akien-mga akien-mga merged commit 70ed550 into godotengine:master Jan 6, 2026
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@MadeScientist
Copy link
Contributor Author

Thank you!

rivie13 pushed a commit to rivie13/Phoenix-Agentic-Engine that referenced this pull request Feb 16, 2026
Add missing method reference in `ShaderMaterial.set_shader_parameter` documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments