Skip to content

Void particles outline#2171

Draft
manuq wants to merge 2 commits intomainfrom
void-particles-outline
Draft

Void particles outline#2171
manuq wants to merge 2 commits intomainfrom
void-particles-outline

Conversation

@manuq
Copy link
Copy Markdown
Collaborator

@manuq manuq commented May 7, 2026

No description provided.

manuq added 2 commits May 7, 2026 12:00
As delivered by PixelFrog, and composed the 3 of them in a row with GIMP. And
change the amount of rows to 3, the new amount of particle variations.

Resolve #1857
To do it, because the GPUParticle2D needs a CanvasItemMaterial for the 3
variations, add a CanvasGroup and apply the outline shader to it.

Also, change the particles to:
- Animate the scale animation now starting at zero and ending at zero too.
- Do not animate the alpha of particles anymore.
- Emit from the sphere surface (not from sphere).
@manuq
Copy link
Copy Markdown
Collaborator Author

manuq commented May 7, 2026

The difficult part of making this outline is that, for it to be applied to all the particles, a CanvasGroup has to be used, and the shader has to be adapted to use screen coordinates:

void_with_outline.webm
void_with_outline2.webm

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Play this branch at https://play.threadbare.game/branches/endlessm/void-particles-outline/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant