Lighting and Rendering / Maya

This page contains the information about lighting, rendering and background settings which can be used with Verge3D for Maya.

Contents

Renderers

Verge3D is designed to represent Maya's Viewport 2.0 hardware renderer as closely as possible. It supports physically-based shading, lights, shadows and image-based lighting (IBL).

Environment Lighting

Environment lighting is a very important component of Verge3D graphics pipeline. You can illuminate your entire scene with just an environment map alone, without using any light objects. See the Scooter demo as an example of this approach.

The default cube template provides an HDR texture for image-based lighting. You can replace this texture with your own file, or setup environment lighting from scratch. To do so, simply append Arnold's aiSkyDomeLight object to your scene and assign some HDR texture to it as Color. In addition, you may use the Intensity attribute to tweak intensity of your environment lighting.

When using HDR texture, make sure you set the Color Space setting to Raw.

You can also aiSkyDomeLight without any texture to simulate light coming evenly from all directions. However, it's much more efficient to use Ambient Lights for that.

Lights

In some cases, using just image-based lighting to illuminate your scene is not enough. If you'd like to simulate some additional light source, need dynamic shadows, or if you need to move your lights (as with car lights), you may use direct light sources.

Verge3D supports the following light types:

In addition, you can assign Depth Map Shadow Attributes on Directional, Point and Spot lights. See here for more info.

Background

By default Verge3D renders the same background you see in Maya's Viewport (grey in most cases). When using image-based lighting (provided by aiSkyDomeLight objects) you see the environment texture instead.

To change your background to some other color, do not edit Viewport settings in Maya, simply assign Background Color and enable the Render Background attribute on your main camera:

You can use Maya's Render View window or Verge3D's Sneak Peek feature to preview the scene with custom background.

Per-Object Rendering Settings

Verge3D supports the following additional rendering settings for your geometry objects:

Render Order - modifies the rendering order for a particular object. The smaller the index, the earlier the object will be rendered. In most cases, you need to tweak this value when using Blend transparency to eliminate transparency artifacts.

Frustum Culling - enables/disables frustum culling optimization for the object. Uncheck this option if you have some skinned object which can move beyond the screen space to prevent it from being culled.

Got Questions?

Feel free to ask on the forums!