Skip to content

Set instancing flags when using GPUParticles in OpenGL renderer#72853

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

Set instancing flags when using GPUParticles in OpenGL renderer#72853
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:GL-particles-color

Conversation

@clayjohn

@clayjohn clayjohn commented Feb 7, 2023

Copy link
Copy Markdown
Member

Fixes: #72847

#72681 partially fixed #72847, but it missed setting the flags for GPUParticles. This PR adds the flags.

GPUParticles always read color and custom_data from the particle buffer, so the flags always need to be set

@clayjohn clayjohn added this to the 4.0 milestone Feb 7, 2023
@clayjohn clayjohn requested a review from a team as a code owner February 7, 2023 18:47
@akien-mga akien-mga merged commit c6d6c01 into godotengine:master Feb 8, 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.

GPUParticles2D color attribute not working in GLES3 (compatibility)

2 participants