I changed my version, so normal materials uses the "else if" clause.