Author Topic: Corona Tips & Tricks  (Read 40079 times)

2017-01-11, 16:28:00
Reply #15

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 8934
  • Marcin
    • View Profile
Quickly toggle lights on/off:

Create a Layered mtl. Leave any material as the base. Add Light mtl as layer 0 material. Add some other material (e.g. standard Corona material with diffuse level 0) as layer 1. Now swap these two layers to toggle the light on/off.

2017-04-21, 11:35:16
Reply #16

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 8934
  • Marcin
    • View Profile