Simplified shader by using `DynamicAttribute`