Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit a89bbb0

Browse files
authored
Merge pull request #4 from mvriel/patch-1
Resolve warning in MotionBlur shader
2 parents 8afc17a + b163712 commit a89bbb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PostProcessing/Resources/Shaders/MotionBlur.cginc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ VaryingsDefault VertFrameCompress(AttributesDefault v)
383383
{
384384
VaryingsDefault o;
385385
o.pos = v.vertex * float4(2.0, 2.0, 0.0, 0.0) + float4(0.0, 0.0, 0.0, 1.0);
386+
o.uvSPR = 0;
386387
#if UNITY_UV_STARTS_AT_TOP
387388
o.uv = v.texcoord * float2(1.0, -1.0) + float2(0.0, 1.0);
388389
#else

0 commit comments

Comments
 (0)