PavelDoGreat / Super-Blur

Screen and UI gaussian blur for Unity
MIT License
843 stars 107 forks source link

[Metal/macOS] [2017.1.0f3] Invalid pass number (1) for Graphics.Blit #2

Closed wilg closed 7 years ago

wilg commented 7 years ago

Getting some errors and nothing renders. Perhaps I set it up wrong?

screen shot 2017-08-04 at 8 55 40 pm
Invalid pass number (1) for Graphics.Blit (Material "SuperBlurPostEffect" with 1 passes)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
SuperBlur.SuperBlurBase:Blur(RenderTexture, RenderTexture) (at Assets/Super-Blur-master/SuperBlur/Core/SuperBlurBase.cs:69)
SuperBlur.SuperBlur:OnRenderImage(RenderTexture, RenderTexture) (at Assets/Super-Blur-master/SuperBlur/SuperBlur.cs:34)
Invalid pass number (2) for Graphics.Blit (Material "SuperBlurPostEffect" with 1 passes)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
SuperBlur.SuperBlurBase:Blur(RenderTexture, RenderTexture) (at Assets/Super-Blur-master/SuperBlur/Core/SuperBlurBase.cs:75)
SuperBlur.SuperBlur:OnRenderImage(RenderTexture, RenderTexture) (at Assets/Super-Blur-master/SuperBlur/SuperBlur.cs:34)
wilg commented 7 years ago

Ah, the materials had the incorrect shader set.