jean-moreno / EdgeDetect-PostProcessingUnity

Unity legacy Edge Detect image effect ported to Post Processing Stack v2
298 stars 32 forks source link

Path issue with unity 2018.1 #6

Closed kefniark closed 6 years ago

kefniark commented 6 years ago

Description

I tried to use this effect with:

But it doesn't work. After few minutes I finally managed to get a proper error:

failed to open source file: ‘Assets/PostProcessing/Shaders/StdLib.hlsl’

It's just the path to stdlib.hlsl which is not the same anymore.

#include "PostProcessing/Shaders/StdLib.hlsl"

With this small fix, it works 👍 image

P.S. Thanks a lot for this repo, I was about to write exactly the same :)

jean-moreno commented 6 years ago

Thanks for the fix, I've pushed it to the repo! d16b816189ad6b8835c9bd5c414cf73f73c4248e