Fire Animation - Moving Light

Hello World !

I’m working on a night scene, and I created a campfire.

So all is done and i was just wondering how can i make moving light. Cause Particules don’t have light and point light don’t (can’t ? ) move in a random way.

How would you do to make this type of light ?

Thanks ! :slight_smile:

You could add 1-3 lights and randomly turn them on and off to produce a flickering light effect.

Okay, i think that is the only way ^^

There’s always another way! :slight_smile: But random flickering lights work well and are easy to implement. You could also create a looping animation that moves and/or flickers a light, but that just seems complicated, and the other way looks good as it is.

I was just asking if there was a “better” way :slight_smile:

So I will try a lot of different way by myself :wink:

This unityAnswer has a nice script that uses Perlin noise: How to Randomly Change the Intensity of a Point Light with a Script - Questions & Answers - Unity Discussions

1 Like

Great stuff ! I test it and it’s not bad. It give me an idea on what I have to do :slight_smile: