Working non-discard shader