Hey, I’ve been wondering if there is a way to do realtime rendering in wireframe. I’ve seen the scripts which make a particular object wireframe (untested) but because I want to render everything in wireframe I think it might be too intensive to run with each model handling it’s rendering. Is there no way to cause the main camera to render wireframe?
2 Answers
2In Unity 4, you may use GL.wireframe.
Hi Charlie,
I totally recommend this:
Hope it helps!
Paul
Hey, that looks really good! The thing is, though, that this isn't going to be a major aspect of my game so I don't really want to have to pay $25 for something like that (I'm still very much an indie developer lol) But thanks, any idea of how to do it for free?
– venhip
Isn't GL unity pro? If it isn't now I'm certain it used to be
– venhipNo, in Unity 4 it`s for free =)
– mouurusaiOoh! Excellent! Thanks! Do you have any idea how to implement it (or a link to a tutorial please)? I've never learnt to use GL :)
– venhipThere is an example in the scripting reference http://docs.unity3d.com/Documentation/ScriptReference/GL-wireframe.html
– mouurusaioh... {facepalm} i tried that before but I put it in update :S haha thanks
– venhip