Skip to content

Commit f7f2825

Browse files
ludovic-theobaldjulienf-unity
authored andcommitted
Fix 1255182 Compile errors using Baked GI (default UV settings) / Output Particle Mesh / Connected Attributes (#139)
1 parent 0d9fa6b commit f7f2825

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

com.unity.visualeffectgraph/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The version number for this package has increased due to a version update of a r
5555
- Unexpected exception while installing samples inside an URP project [Case 1280065](https://issuetracker.unity3d.com/product/unity/issues/guid/1280065/)
5656
- Fix edited operator being collapsed [Case 1270517](https://issuetracker.unity3d.com/product/unity/issues/guid/1270517/)
5757
- Fix View Space Position is VFX Shadergraph [Case 1285603](https://fogbugz.unity3d.com/f/cases/1285603/)
58+
- Fix [Case 1255182](https://fogbugz.unity3d.com/f/cases/1255182/)
5859

5960
## [7.4.1] - 2020-06-03
6061

com.unity.visualeffectgraph/Shaders/ParticleMeshes/PassForward.template

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@ Pass
3535
// y: alpha threshold
3636
// z: frame blending factor
3737
// w: exposure weight
38-
nointerpolation float4 builtInInterpolants : TEXCOORD1;
38+
nointerpolation float4 builtInInterpolants : TEXCOORD4;
3939
#endif
4040
#if USE_FLIPBOOK_MOTIONVECTORS
4141
// x: motion vectors scale X
4242
// y: motion vectors scale Y
43-
nointerpolation float2 builtInInterpolants2 : TEXCOORD2;
43+
nointerpolation float2 builtInInterpolants2 : TEXCOORD5;
4444
#endif
4545
#if VFX_NEEDS_POSWS_INTERPOLATOR
46-
float3 posWS : TEXCOORD4;
46+
float3 posWS : TEXCOORD6;
4747
#endif
4848

4949
#if WRITE_MOTION_VECTOR_IN_FORWARD
50-
float4 cPosPrevious : TEXCOORD5;
51-
float4 cPosNonJiterred : TEXCOORD6;
50+
float4 cPosPrevious : TEXCOORD7;
51+
float4 cPosNonJiterred : TEXCOORD8;
5252
#endif
5353

5454
#if SHADERGRAPH_NEEDS_NORMAL_FORWARD
55-
float3 normal : TEXCOORD7;
55+
float3 normal : TEXCOORD9;
5656
#endif
5757
#if SHADERGRAPH_NEEDS_TANGENT_FORWARD
58-
float4 tangent : TEXCOORD8;
58+
float4 tangent : TEXCOORD10;
5959
#endif
6060

6161
${VFXAdditionalInterpolantsDeclaration}

0 commit comments

Comments
 (0)