How to do it...

To create a glowing lamp using Material Emission, follow these steps:

  1. Create a new 3D Project. You should start with a basic scene containing a Main Camera and a Directional Light.
  2. Import the Unity package lamp.unitypackage containing the 3D lamp model (lamp), as well as a green Texture (lamp_emission).
  3. With the 3D model asset lamp selected in the Project panel, in the Inspector, check its Generate Lightmap UVs option, and click on the Apply button to confirm the changes:
  1. In the Project panel, select Material m_lamp. Check the Emission option, and then assign Texture lamp_emission to its Emission Color property. Set the ...

Get Unity 2018 Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.