added ifdefs
now the brdfs can be tweaked using materials