Skip to content

Commit d0663f1

Browse files
svc-reach-platform-supportEvergreen
authored andcommitted
[Port] [6000.3] [2d] Fix case where URP-2D shaders are used with Vfx Shadergraph.
1 parent 98d012a commit d0663f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Packages/com.unity.render-pipelines.universal/Shaders/2D/Include

Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ float3 UnitySkinSprite( in float3 inputData, in uint4 blendIndices, in float4 bl
100100

101101
void SetUpSpriteInstanceProperties()
102102
{
103-
#ifdef UNITY_INSTANCING_ENABLED
103+
#if defined(UNITY_INSTANCING_ENABLED) && !defined(HAVE_VFX_MODIFICATION)
104104
unity_SpriteProps.xy = unity_SpriteFlip;
105105
#endif
106106
}

0 commit comments

Comments
 (0)