- Home /
Constant width of outline shader
I found shader script which generate outline: https://willweissman.wordpress.com/tutorials/shaders/unity-shaderlab-object-outlines/ But the main problem is that I expected constantly outline. I don't know what is the reason of increasingly enlarge outline when i moves camera. Here is the code: https://pastebin.com/aVyejxDb
I can not use simply outline shader because I am working on concave shapes
So, Could you know how to maintain constant outline width independently of camera moves?
Did you solve this problem? I'm in a similar situation now
Your answer
![](https://koobas.hobune.stream/wayback/20220612205420im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Post processing effect on depth only camera. 1 Answer
Render if Object is behind obstacle? 1 Answer
Screen and postprocessing shaders arent doing anything 2 Answers
How to only render things behind a mesh. 0 Answers
Is there a shader to draw outline of a solid sphere in unity 20.1.0a12 , that works in unity WebGL? 0 Answers