How to draw the object outlines using Silk.NET? #1834
Answered
by
qian-o
Hanning-Liu
asked this question in
Q&A
-
I want to implement the effect like the right side of the screenshot below: |
Beta Was this translation helpful? Give feedback.
Answered by
qian-o
Dec 14, 2023
Replies: 1 comment 9 replies
-
This would generally be done by writing a custom shader, this functionality is not provided by Silk.NET itself, since "outlines" arent really a concept of graphics APIs |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have written similar stencil testing code before and I hope it can help you.
https://github.com/qian-o/LearnOpenGL/blob/master/4_2_StencilTesting/Program.cs