You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the specified Godot 4.3 versions, CPUParticles2D and GPUParticles2D nodes' particles do not render at all on web export, unless given a shader that overrides their COLOR. For example, this would suffice to fix it:
However, this causes the particles to become invisible on web again, so I tried a variation of this shader that only copies the color information's RGB channels:
This version renders on PC, though of course it lacks the alpha value from the particle color.
On web, they now also render, though their color information appears to be wrong: white particles show up magenta, and yellow particles show as red. It appears that the green channel appears to be constantly zero.
My theory is that the alpha channel is also constantly zero, which would explain why the particles are invisible with the default shader.
Tested versions
System information
Godot v4.3.stable - Web - GLES3 (Compatibility) - WebKit WebGL - (2 Threads)
Issue description
In the specified Godot 4.3 versions, CPUParticles2D and GPUParticles2D nodes' particles do not render at all on web export, unless given a shader that overrides their COLOR. For example, this would suffice to fix it:
Steps to reproduce
If you use the web editor, you can even skip step 3. as the particles won't show up in the editor's viewport anyway.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: