Getting Started 03: Valkyrie Material Editor

Whether you're into physically based or stylized shaders, Valkyrie's Material Editor allows you to create any type of shaders in an intuitive way.

If the material editor is not showing in the Valkyrie workplace, you can display it by either:

Material_Editor

Let's now review the different options available in the editor.

Material Channels

Diffuse

The diffuse color or texture map. If a texture is in the diffuse channel, the diffuse modulate option allows you to multiply a color with the texture.

Opacity

There are 2 methods to enable opacity.

Bump

The bump channel allows you to use a normal map or a height map. Choose the relevant flag to enable the adequate effect. The intensity of the bump can be controlled by modifying the bump's alpha value. The RGB value controls the relief mapping strength. Bump Illustration

Specular

The specular channel allows you to create more realistic shaders. Reflections Illustration The RGB value define the intensity of the specular highlights while the alpha value controls the glossiness.

When creating PBR assets, the glossiness map must be featured in the specular map's alpha channel. It is recommended to use the TGA file format. Glossiness Illustration The alpha value will increase or reduce the intensity of the glossiness, 1 being mirror & 0 being matte.

Environment

Overwrite the Image based lighting specular environment map. This is a reflection cubemap or 2d spheremap.

Ambient

It is used for AO maps or lightmaps. The ambient bitmap is multiplied with the diffuse to blend the shadows.

The ambient channel uses your model's UV Channel 2 if its present in the 3d model, when not present it will use first UV channel.

Emissive

The emissive channel is used to define a shader's self-emission. The RGB value defines the color of the emission while the alpha value controls the intensity of the effect. Emissive Illustration

Refraction

The refraction channel is used to refract light through transparent surfaces. It is automatically assigned and you shouldn't put any texture in it.

To enable this effect the transparent flag must be enabled. The RGB value define the exit color of the light while the alpha value controls the index of refraction (IOR).

Material Sampling

Filters

Wrap

Blending

A variety of blending methods that defines how the material are blended when set to Transparent. Blending Illustration

Miscellaneous

Flags

Flags are properties and special effects you can add to your materials. They can be added via the Flag field search aid. Certain flags can also be activated through option buttons, for example diffuse modulate next to the Diffuse channel.

Some of the options available are:

Polygon Offset

Set the scale and units used to calculate depth values. This is used to combat Z-fighting when you're using 3d models that you cant fix yourself.