-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Particle2D showing full texture and not region specified #64671
Comments
I've just checked the documentation and it says this: So is this why? If so, two questions:
|
Duplicate of #13923
AtlasTexture is just a wrapper for the texture on GPU. Most nodes draw textures using the regular texture draw function, which handles AtlasTexture in a specific way, but GPU particles work differently. You e.g. need a special material to use animations, so not sure if handling atlases in particles is possible. It would need to be done explicitly in the shader. |
@KoBeWi |
Makes sense. |
Ok, thanks. So why does Godot allow us normal folk to believe it's all fine
to use them and no help shown in the gui. Could this be added?
…On Sat, 20 Aug 2022, 11:35 pm Tomek, ***@***.***> wrote:
Duplicate of #13923 <#13923>
Is this a limitation of OGL or just a bug/feature not implemented in Godot?
AtlasTexture is just a wrapper for the texture on GPU. Most nodes draw
textures using the regular texture draw function, which handles
AtlasTexture in a specific way, but GPU particles work differently. You
e.g. need a special material to use animations, so not sure if handling
atlases in particles is possible. It would need to be done explicitly in
the shader.
—
Reply to this email directly, view it on GitHub
<#64671 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCERRPI6KUMV5SVZZ4GEGTV2FMRNANCNFSM57D25E2A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Godot version
3.4.4
System information
PopOS
Issue description
I have a sprite map/atlas and for a Particle2D texture I have set a region as shown below.
However, when the particle is emitted, it shows the full texture
I did search for an existing one, apologies if already a bug.
Steps to reproduce
Exactly as above really
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: