# Using Niagara to show stars in the sky

**URL:** <https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [July 28, 2026, 3:42pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918 "2026-07-28T15:42:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [July 28, 2026, 3:42pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/1 "2026-07-28T15:42:51Z")

</div>

Hi!

I have the location of all of those bright stars in the sky. Someone has suggested me to use Niagara to draw them instead of using actors with a emissive material:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/7/a3738dae05bdcfe080436021e357892a67e4e82d.jpeg)

But I haven’t done anything before with Niagara.

How can I spawn something like that in a location (x, y, z) using Niagara?

The stars are spheres with an emissive material with different sizes.

Thanks!

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [July 28, 2026, 4:08pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/2 "2026-07-28T16:08:31Z")

</div>

I’m assuming you need to move them around for gameplay is why you’re using Niagara? If so, look at using Niagara Data Channels:

> **[Niagara Data Channels Overview | Unreal Engine 5.8 Documentation | Epic...](https://dev.epicgames.com/documentation/unreal-engine/niagara-data-channels-overview?lang=en-US)**
>
> Overview of Data Channels in Niagara

> **[Niagara Data Channels Intro | Tutorial](https://dev.epicgames.com/community/learning/tutorials/RJbm/unreal-engine-niagara-data-channels-intro)**
>
> An introduction to Niagara Data Channels. A new feature that allows communication between Game code and Niagara Systems.
> 
> DISCLAIMER: Niagara Data Chann...

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [July 28, 2026, 4:10pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/3 "2026-07-28T16:10:18Z")

</div>

> [@Countsie](#):
>
> I’m assuming you need to move them around for gameplay is why you’re using Niagara?

Now I’m using Actors. I have no idea about Niagara.

Someone has suggested me to use Niagara instead of spawn 8k actors.

I want to spawn (or whatever is called in Niagara) something that looks like a star using Niagara.

Thanks for your answer!

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [July 28, 2026, 4:57pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/4 "2026-07-28T16:57:29Z")

</div>

Niagara will be way more performant than actors. NDC will let you push data and use it in emitters however you need (position, color, size, duration…).

If you just need a star background, I would go with a material based approach on a sky dome/sphere for best performance.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [July 28, 2026, 5:01pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/5 "2026-07-28T17:01:18Z")

</div>

I’ve found this: [https://www.youtube.com/watch?v=0R7llmGGTXA](https://www.youtube.com/watch?v=0R7llmGGTXA)

I need a tutorial or something to learn how to do it.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [July 30, 2026, 3:24pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/6 "2026-07-30T15:24:13Z")

</div>

@Countsie

I’ve forgotten to mention that I’m using actors because I need to hide them and show them again. Or because the player can interact with them, by clicking on them. Can I do that with a Niagara Effect?

Thanks!

---

<div class="post-metadata">

**Author:** ![Countsie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/countsie/32/1194632_2.png) [@Countsie](https://forums.unrealengine.com/u/Countsie)\
**Post date:** [July 31, 2026, 2:43am UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/7 "2026-07-31T02:43:09Z")

</div>

hmmm. i dont think there is an easy way to select individual emitters/particles like with a linetrace. in that case, I would do it with a ISM/HISM, you can get the ‘item’ from the hit result and it will be the index of the specific instance. You can use custom data to change the instance color in it’s material, use the random instance value in your material to modify the ‘twinkle’. you can ‘hide’ an instance by setting it’s scale to 0.

if not using nanite, keep your star mesh SUPER simple if you’re doing 8k objects. Try a cube, see if that works.

once you get it set up and working, if you still have performance issues, i might consider breaking the stars into visual ‘sections’, each using it’s own ISM so view culling can skip rendering ISMs not in view.

> **[Instanced Static Mesh Component in Unreal Engine | Unreal Engine 5.8...](https://dev.epicgames.com/documentation/unreal-engine/instanced-static-mesh-component-in-unreal-engine)**
>
> Learn to optimize a project through instancing with the instanced static mesh component in Unreal Engine.

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 22, 2026, 1:08pm UTC](https://forums.unrealengine.com/t/using-niagara-to-show-stars-in-the-sky/2738918/8 "2026-09-22T13:08:52Z")

</div>

honest take first: for a static star field niagara may be more machinery than needed. two thousand fixed points render cheapest as an instanced static mesh with an emissive material, zero simulation.

if you want niagara anyway (twinkle, color variance, one system): spawn burst with count equal to your star list size and feed positions once. the clean way is a user parameter of vector array type written from blueprint or c++, then in particle spawn sample the array by particle index to set each position. no loop, no per frame updates, freeze after spawn.

color and brightness: write magnitude or color temperature into a second array and map it to color in particle spawn, twinkle is then a cheap sine on normalized age in particle update.

ndc (suggested earlier in the thread) is the wrong tool here, data channels are for gameplay to effect or effect to effect messaging, not static position data.

the friction point you will hit: stock blueprint cannot write vector arrays into niagara systems, there are no set array nodes. c++ can (SetNiagaraArrayVector on the component), or the Expose Niagara Variables C++ & Blueprints plugin exposes the array types plus 18 variable types across all 8 namespaces with getters in blueprint and c++, which turns the whole star list into one node call: [Expose Niagara Variables C++ & Blueprints | Fab](https://www.fab.com/listings/284908d3-8f3a-4430-bece-12ca313608f7)
