CGFamily Studio

Maya Viewport 2.0 Settings for Near-Render Playblasts

· 4 min read Maya

Not every shot needs a full render before someone signs off on it. This walks through the Viewport 2.0 settings that push the Maya viewport close to render quality, so a Playblast is good enough to send. Textures, ambient occlusion, anti-aliasing, two-sided lighting and Hardware Fog, in the order you'd actually set them.

The video loads from YouTube (privacy-enhanced mode) only when you press play.

What you'll learn

  • Turn on textures and repath missing files through the File Path Editor
  • Enable GPU instancing and set transparency to Depth Peeling for cleaner alpha
  • Push texture resolution to 4096 with Custom and reload at 4K
  • Add Ambient Occlusion, Motion Blur and Multi-Sample Anti-Aliasing at 8 or 16
  • Use two-sided lighting and Hardware Fog to control what reads inside and behind the mesh

Get the textures showing, then set the Viewport 2.0 baseline

The whole point here is speed. You don't always have time to render a scene before sending it to a client or whoever you're working with just to get an approval. So the move is to make the viewport look close enough to the render that a Playblast can go out without a render pass at all. First thing: turn on textures.

If the textures aren't showing, go to Windows > General Editors > File Path Editor and repath the files. If you know where the files live, paste the directory and it calls them automatically. Close that once the files are found.

Then go to Renderer > Viewport 2.0 settings and work through the baseline:

  • Make sure the result isn't overly bright.
  • Turn on GPU instancing.
  • Set the transparency algorithm to Depth Peeling — this is what makes the alpha look better.
  • Set the texture resolution to Custom and 4096, then reload all the textures at at least 4K.

Watch this part (0:24)

Ambient Occlusion, anti-aliasing and a background color

Turn on Ambient Occlusion. The difference is immediate — things pick up a bit more depth instead of sitting flat. Hardware Fog gets turned on too, though it won't matter yet; it comes back later.

Turn on Motion Blur. Then Anti-Aliasing: turn on Multi-Sample Anti-Aliasing with a count of 8 or 16. If your machine can't support that, 4 is fine. 8 is the working number here.

Last touch in this pass is the background. Change the color to a dramatic shade of blue and leave it. Close the panel.

Watch this part (1:25)

Two-sided lighting, Hardware Fog, and building depth

Go to Lighting and make sure two-sided lighting is on. Here's why it matters: if you have a simple mesh that folds over and you can see the inside of it, without two-sided lighting the exterior renders with texture but the inside goes black — or transparent. If you go to Shading and choose Backface Culling, you don't want it to be transparent. You want the texture reading from both sides. That's the whole reason two-sided lighting is on.

Next, Shading > Hardware Fog. The fog settings are right there, and it has to be switched on from Shading first. Pick a start value and give the scene more depth. Exponentially Squared is an option — it produces values like 0.001 or 0.002 and adds depth — but there's less control over it. Linear at 2,000, then down around 1,300, is the more controllable route. The goal is depth on the back side of the scene but not on the front.

You'll notice the anti-aliasing doing its job here: turn it off and the edges go jaggy, turn it back on and they smooth out.

From there it's composition. Copy an element and place it to create some variation in the background. If the depth isn't reading well, increase it. Motion Blur gets turned off for now — you don't want it affecting the character. Increase the size of the background element and the frame sits much better.

That's the setup. The viewport is carrying the look, the Playblast goes out, and nobody's waiting on a render.

Watch this part (2:19)

Goes with this tutorial

Related tutorials

Watch it on YouTube