# A-Frame Particle System with Custom Texture

**URL:** <https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585>\
**Category:** Technical Support\
**Created:** [January 24, 2025, 3:04am UTC](https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585 "2025-01-24T03:04:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoinette\_Bumatay-C](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@Antoinette\_Bumatay-C](https://forum.8thwall.com/u/Antoinette_Bumatay-C)\
**Post date:** [January 24, 2025, 3:04am UTC](https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585/1 "2025-01-24T03:04:20Z")

</div>

Hi!

How do I create a particle system with a custom texture?

I have tried adding the image as an asset first:

```auto
<a-assets>
    <img id="particle-texture" src="./assets/particle.png">
</a-assets>

<a-entity position="1 0 0"
    particle-system="preset: dust;
	    particleCount: 1500;
	    texture: #particle-texture"></a-entity>

```

and then also just the file path directly:

```auto
<a-entity position="1 0 0"
    particle-system="preset: dust;
	    particleCount: 1500; 
	    texture: ./assets/particle.png"></a-entity>

```

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [January 24, 2025, 7:44pm UTC](https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585/2 "2025-01-24T19:44:16Z")

</div>

I believe you need to use an absolute path instead of a relative path. If you open up the asset preview, right click the image and “copy full image URL” you can try to use that instead of the relative path

---

<div class="post-metadata">

**Author:** ![Antoinette\_Bumatay-C](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@Antoinette\_Bumatay-C](https://forum.8thwall.com/u/Antoinette_Bumatay-C)\
**Post date:** [January 25, 2025, 3:31am UTC](https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585/3 "2025-01-25T03:31:52Z")

</div>

That was it! Thank you so much.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [January 29, 2025, 3:32am UTC](https://forum.8thwall.com/t/a-frame-particle-system-with-custom-texture/4585/4 "2025-01-29T03:32:32Z")

</div>

Closed on January 29, 2025, 3:32am UTC

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
