- Home /
Edge Detection script [Legacy Image Effect] - NOT working on mobile (iOS, Android)
Hello guys, we're currently working on a racing game (mobile) and we are trying to achieve a toonish graphic style by making all meshes have an black outline (sobel depth mode).We tried to use the Edge Detection script from the Legacy Image Effects and although it works perfectly in the editor, it doesn't work on mobile (tested on iPhone X).I've read the documentation and it says "This effect requires a graphics card that supports Depth Textures" so I read further and found out "Mobile: OpenGL ES 3 and Metal support depth textures".We use Metal for iOS and Open GL ES3 for Android so technically everything should be working fine but it doesn't, when I activate the script manually on mobile it doesn't work.Also I would like to mention 2 things: I've tried some assets/effects from the Asset Store and we couldn't achieve the desired look with them + this method (image effect) would be preferred instead of making the outline from all different shaders because we use different shaders for car paint, tracks and so on (plus I wouldn't know how to add outlines to shaders anyway lol).Thank you for your time, any help would be highly appreciated.