GHGL Shader

Hi,

I am using GhGL shader to draw an outline around geometries using this sample file: GrasshopperProgrammingTutorials/0008 Toon Shader with GhGL at master · jhorikawa/GrasshopperProgrammingTutorials · GitHub

Is there any way to exclude curves from outline drawing @stevebaer ?
image

1 Like

I didn’t write that shader and currently don’t have the time to dig in and debug this. Since they were written by Junichiro, he is probably the best person to answer this question

1 Like

@jho Junichiro Horikawa Could you help me with this issue?

hi @Petras_Vestartas i know it’s an old issue but make a displayconduit and override the PreDrawObject(DrawObjectEventArgs)


List<HideIds> = new List<HideIds>();

protected override void PreDrawObject(DrawObjectEventArgs e)
{

    if (hideIds.Contains(e.RhinoObject.Id))
    {
        e.DrawObject = false;
    }
    base.PreDrawObject(e);
}