removing switch from shader