Graphics, Programming, Unity, Tutorial, Technology.
as small as possible. Surround the uv field with an #if block, ensuring it’s only interpolated when needed. It’s not as important to do this in the Attributes struct, but it can’t hurt. In the vertex function, transfer the UV to the output struct, again only if _ALPHA_CUTOUT is defined. Then, in