Not directly OGL related.

Hi,

I’d like to use one light in OGL to simulate the light coming from a torch.
What kind of math function could i use to simulate intensity/color changes ?

I’d try using several overlayed sine waves, I think