Example how to customize shader generator with your own StateAttribute