Skip to content

Ignore instance color and instance custom_data when not used in the OpenGL renderer#72681

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:GL-multimesh-color
Feb 3, 2023
Merged

Ignore instance color and instance custom_data when not used in the OpenGL renderer#72681
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:GL-multimesh-color

Conversation

@clayjohn

@clayjohn clayjohn commented Feb 3, 2023

Copy link
Copy Markdown
Member

Fixes: #72658

The issue was that color was always used regardless of whether it was set or not. If it was not set, it was Color(0,0,0,0) which resulted in the instances all rendering transparent.

@clayjohn clayjohn added this to the 4.0 milestone Feb 3, 2023
@clayjohn clayjohn requested a review from a team as a code owner February 3, 2023 18:35
@akien-mga akien-mga merged commit 1253547 into godotengine:master Feb 3, 2023
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

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.

MultiMeshInstance2D not working in GLES3 (compatibility)

2 participants