Cycles material generation: Take into account if diffuse layer is using RGB or RGBA color setting.
Cycles material generation: Take the first emissive layer into account when generating a cycles material.