Creating a more natural lighting for the fire. (with point light)

Your light function sample texture with constant coordinate per pixel. Same can be done just per frame. Waste of performance. It’s also does not work on mobile.