Wireframe Material Constant Thickness
I am trying to make my wireframe material more visible in-game. Distance from the mesh makes the lines thinner and makes it very difficult to see. I am very inexperienced with some of the more advanced material nodes and features so I'm looking for suggestions. Making the edges thicker in the texture and increasing emissive intensity both didn't give me the result I was looking for. Is there some way to render the line as a constant thickness regardless of distance from the material?
I feel like the Pixel Depth Offset parameter could be useful but I can't seem to figure out how to use it in this situation.
Wireframe Material Applied to Mesh (Arrow) In Game:
One other question: would masked or translucent be the right option for this material? They seem to produce the same result.
Thanks in advance!!
asked Apr 08 '16 at 11:08 PM in Rendering
"Distance from the mesh makes the lines thinner and makes it very difficult to see."
See this video: https://youtu.be/cX0sy5144Js?t=227
It basically takes the absolute world position of the object and the camera position, passes it through a "Distance" node (which outputs a value) and uses that value to dynamically increase the thickness of the edges. Pretty cool stuff.
answered Aug 16 '17 at 07:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here