My Profile Picture

Danny O Mejia

Tech Lover

C# in Unity

This is a place where I will be creating C# scripts in Unity3D, outside of work for porfolio demonstration and practice.
Light Flickering
Very quick and simple script. Grabbing the light and making it feel like is fire flickering by reducing the light intensity up and down. I prefer reducing the intensity rather than turning off and on the light because it is more realistic and smoother feeling for a fire fx. If this was for a light that is cutting off and on then it would be more appropriate to just enable and disable the light component.
In order to read it more clearly, please zoom in or download the image.
© 2022 Copyright: Danny Oniel Mejia