Adding support for lighting as material attribute