Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few notes to Sprite3D's documentation #86872

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Jan 6, 2024

Closes #73739
Closes #75083

Can be cherrypicked for prior 4.x versions.

@Mickeon Mickeon requested a review from a team as a code owner January 6, 2024 11:51
@@ -75,7 +75,8 @@
If [code]true[/code], texture is flipped vertically.
</member>
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)">
A color value used to [i]multiply[/i] the texture's colors. Can be used for mood-coloring or to simulate the color of light.
A color value used to [i]multiply[/i] the texture's colors. Can be used for mood-coloring or to simulate the color of ambient light.
[b]Note:[/b] Unlike [member CanvasItem.modulate] for 2D, colors with values above [code]1.0[/code] (overbright) are not supported.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Calinou described a goord workaround but I feel like putting it here would bloat the description too much. Is it a common-enough to warrant giving example code?

@Mickeon Mickeon force-pushed the documentation-sprite-3d-notes branch from 786047b to 8ca47c9 Compare January 6, 2024 11:54
@dalexeev dalexeev added enhancement documentation cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Jan 8, 2024
@dalexeev dalexeev added this to the 4.3 milestone Jan 8, 2024
@YuriSizov YuriSizov requested a review from Calinou January 23, 2024 12:08
@akien-mga akien-mga merged commit cc623af into godotengine:master Feb 13, 2024
@Mickeon Mickeon deleted the documentation-sprite-3d-notes branch February 13, 2024 16:30
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.
Cherry-picked for 4.1.4.

@akien-mga akien-mga removed cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Mar 11, 2024
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.

Sprite3D Modulate won't respect raw color values over 1 Gradients on a sprite 3d have artifacts.
3 participants