old generic shader code works