Download

Toon Shader + Transluscent Materials

Hey guys, I’m creating a toon post-process shader with edge lines and I’m trying to apply it to a transluscent object, but whenever I change the shader model from opaque to transluscent the edges disappear.

I’m using the standard method, using the scene depth to draw the lines. I also set the effect to happen before tonemapping, after refraction. Am I doing something wrong?