Use an Expression to Create Flickering Lights in a Maya Scene

Academic Phoenix Plus Shows How to Create a Flickering Light Effect Using a Small Expression.

Maya has a ton of ways that give you control over the objects in your scene. Between the options of MEL (Maya Embedded Language), the Connection Editor, Nodes, Driven Keys and expressions, you have a lot of choices. Expressions are a great way to affect a value field in Maya without having to set any keyframes for it. Monica from Academic Phoenix Plus shows how you can create flickering lights using expressions.

A super-simple method for changing the intensity of a light source in the scene over time is to randomize it. Monica covers the differences between using a random number and using a sine wave instead. The sine function in the expression will offer a more smooth result that is perfect for the flickering lights of a candle.

Some of the links on lesterbanks are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.