Interested in this Tutorial?
Check out the about tab below and start learning on CG Cookie today.Start Learning
Rendering a Wireframe Overlay
Whether you're showing off your model's precision topology or breaking down a VFX shot, rendering a wireframe overlay is a common task for 3D artists. While there are multiple ways of rendering a wireframe, in this lesson I will demonstrate my preferred method using OpenGL viewport rendering.
Wireframe as an Overlay PassThe benefit of rendering your wireframe as a separate pass for compositing is that you have the flexibility to change the wireframe color easily, as well as overlay the pass on top of an existing render. Therefore, we'll render the wireframe as a white-and-black pass that will function as a mask.
OpenGL Viewport RenderingSince Blender's viewport is designed to work in real time, it's essentially the fastest rendering solution we have in Blender. So if we could somehow get a wireframe visualization setup in the viewport - that's the result we would be able to get. (Spoiler: Yes, we can do this in the viewport!)