non-working flat shader code added