Skip to content

Instantly share code, notes, and snippets.

@toxicFork
Created March 15, 2015 21:45
Show Gist options
  • Save toxicFork/fea77d575be3e883aee6 to your computer and use it in GitHub Desktop.
Save toxicFork/fea77d575be3e883aee6 to your computer and use it in GitHub Desktop.
#ifdef UNITY_STANDARD_USE_SHADOW_OUTPUT_STRUCT
struct VertexOutputShadowCaster
{
V2F_SHADOW_CASTER_NOPOS
#if defined(UNITY_STANDARD_USE_SHADOW_UVS)
float2 tex : TEXCOORD1;
#endif
#if PLANE_CLIPPING_ENABLED
float3 posWorld : TEXCOORD2;
#endif
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment