Hello, as a relative beginner I've been trying to replicate the content explained in the devlogs of return of the obra dinn, specifically the outline described in the posts made by the developer on the pages 2, 3 and 5 on the forum: https://forums.tigsource.com/index.php?topic=40832.80
I suppose I need 2 shaders for the effect. The first shader sections the different faces of the meshes, preparing them for outlining. The second one detects the edges on the resulting sections and creates outlines with a fullscreen pass.
I did manage to make the sectioning and the outlining work by following the instructions from the devlogs and getting help from LLMs. However, there is one part I really can't figure out about the sectioning and it makes me get unwanted lines when the faces do not have the same exact normal.