Adding Transparency and Emission maps to a material
The Emission property can be used to simulate a variety of self-illuminated objects, from the LEDs of mobile displays to futuristic Tron suits. Transparency, on the other hand, can make the diffuse color of a material more or less visible. In this recipe, you will learn how to configure these properties to produce a toy's cardboard packaging that features a plastic case and glow-in-the-dark text.
Getting ready
For this recipe, we have prepared a Unity package containing a prefab made of a 3D object, its material, and its respective diffused texture map (in PNG format). All files are in the 1362_04_04
folder.
How to do it...
To add transparency and color emissions to a material, follow these steps:
Import
TransparencyEmission.unitypackage
to your project. Select theDIFF_package
texture from theAssets
folder, in the Project view. Then, open it in your image editor.First, we will add transparency to the image by deleting the white areas around...