O'Reilly logo

Unity 4.x Cookbook by Matt Smith, Chico Queiroz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a self-illuminated material

Self-illuminated materials can be used to simulate a variety of objects, from LED mobile displays to futuristic Tron suits. In this recipe, we will learn how to configure this kind of material and its texture maps.

Getting ready

As we will create an LCD display in this example, please make sure you have a font in that style installed on your computer. If not, you can find several free LCD fonts on specialized websites, such as www.dafont.com.

How to do it...

To create a self-illuminated material, follow these steps:

  1. Create a new material named LCDMaterial.

    Note

    The easiest way to do that is to access the Project view, click the Create drop-down menu and choose Material.

  2. Select your material. In the Inspector view, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required