Skip to content

Instantly share code, notes, and snippets.

@toxicFork

toxicFork/shadow_struct.shader Secret

Created Mar 15, 2015
Embed
What would you like to do?
// Has a non-empty shadow caster output struct (it's an error to have empty structs on some platforms...)
#if PLANE_CLIPPING_ENABLED || !defined(V2F_SHADOW_CASTER_NOPOS_IS_EMPTY) || defined(UNITY_STANDARD_USE_SHADOW_UVS)
#define UNITY_STANDARD_USE_SHADOW_OUTPUT_STRUCT 1
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment