- Home /
Wireframe model without faces
Is there any shader or material that can import/render a model thats only made up of vertices and edges?
Any other material shader/image effect i've tried so far hasn't been able to do that.
$$anonymous$$ost mesh formats don't support edges. So most likely, Unity doesn't receive any lines at all(or doesn't read them). You would need to have custom export in your modelling software and custom import in Unity for that to work.
Answer by Graphics_Dev · Feb 25, 2016 at 03:38 PM
Sorry, Unity uses tris not edges...you can write a shader like this that RENDERS only edges but you still need tris because Unity is just rendering the edges of the tris. (Go to the asset store and search for wireframe shader: you will see a few like these.)
https://www.assetstore.unity3d.com/en/#!/content/50160
Answer by Kamil1064 · Feb 25, 2016 at 07:24 PM
http://docs.unity3d.com/ScriptReference/GL-wireframe.html
But that's making whole game in wireframe mode.
Your answer
Follow this Question
Related Questions
How to add true transparancy to this Wireframe Shader? 1 Answer
Imported OBJ from an STL won't properly apply asset store materials 1 Answer
How to get "Shaded Wireframe" view in Game View with equivalent shader 0 Answers
Why are my two sided shader faces leaking through each other? (URP shader graph) 1 Answer
The model looks smooth. 0 Answers