Jump to content

How to create a constant width wireframe shader?


Recommended Posts



I made a simple shader using the Wireframe VOP which works fine but I want it to be constant width when rendered so it looks as if the wireframe has a fixed width rather than looking thinner/thicker because of perspective.


Can this be done in a shader? If so, how can I do this?



Thanks :)

Link to comment
Share on other sites

Thanks Edward. No I mean something like this where the lines of a model looks the same:




as opposed to this where the lines have different width based on the camera perspective:




I actually needed this for curves but then wondered how one would actually do this for a surface.

Edited by magneto
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...