MAKING 3D ITEMS - 3D MAYA
Other

Toon Shader

30min

❗️ caution If an item with a similar style is produced using a shader other than the Toon Shader provided by ZEPETO, the sale of the item may be suspended or deleted without warning.

ο»Ώ

STEP 1 : Preparation

πŸ‘ Before starting, make sure that the latest version of Zepeto Studio project fileο»Ώ is downloaded. The latest project files version 3.2.12 and higher include ZEPETO built-in shaders.

ο»Ώ

ZEPETO Toon Shader provides the following features.

Document image
ο»Ώ

ο»Ώ

Function

Details

Rendering Mode

You can set the rendering mode of Opaque, Cutout, and Fade.

Render State Detail

Set Blend Mode, ZWrite, Cull Mode (Back-Front, Front-Back, Off-Duplex), etc. Do not touch it except in Cull Mode.

Albedo

Albedo texture * Color value is displayed as BaseColor. In the case of a texture with alpha, you can adjust the boundary between opaque and transparent areas by adjusting the Alpha Cutoof value.

Outline Color

You can set the color of the outline.

Outline Width

You can set the thickness of the outline. The thickness of the outline remains constant depending on the distance, but as the distance from the camera increases (more than 2m), the thickness of the outline also decreases. Default value 0.0012 recommended

Outline Color Blend

Controls the color of the outline and how well it blends with the BaseColor. Default 0.4 recommended

Shadow Color

Adjusts the color of the shaded area. That color is multiplied by the BaseColor and rendered.

Shadow Threshold

Adjust the shaded area.

Shadow Smooth

Control the smoothness of the shaded area.

Specular Color

Control the gloss color. The color is added to the BaseColor for rendering.

Specular Threshold

Adjust the glossy area.

Specular Smooth

Control how smooth the gloss spreads.

Rim Color

Adjust the Rimlight color. That color is added to the BaseColor and rendered.

Rim Threshold

Adjust the Rimlight area.

Rim Smooth

Control how smooth the Rimlight spreads.

Emission

Add EmissionColor to BaseColor. BaseColor + (Emission Texture * Emission Color)

Color Grading

Adjust the color to suit the ZEPETO environment.

ο»Ώ

STEP 2 : Explore features

1. Outline Control

  • Outline Color - You can set the color of the outline.
Document image
ο»Ώ

ο»Ώ

  • Outline Width - You can set the thickness of the outline. The thickness of the outline remains constant according to the distance, but as the distance from the camera increases (more than 2M), the thickness of the outline decreases as the distance increases.
Document image
ο»Ώ

ο»Ώ

  • Outline Color Blend - Adjust the color of the outline and the degree to which it blends with the BaseColor.
Document image
ο»Ώ

ο»Ώ

  • Outline Off - Option to not draw outlines.
Document image
ο»Ώ

ο»Ώ

  • Outline Normals Source - This option is used to decide whether the mesh's smooth normal information is represented as Tangent or Normal.
Document image
ο»Ώ

ο»Ώ

2. Shading Control

  • Shadow Color - Adjust the color of the shaded area. That color is multiplied by the BaseColor and rendered.
Document image
ο»Ώ

ο»Ώ

  • Shadow Threshold - Adjust the area of ​​the shaded area.
Document image
ο»Ώ

ο»Ώ

  • Shadow Smooth - Adjust the smoothness of the shadowed area.
Document image
ο»Ώ

ο»Ώ

  • Shading Detail - Controlling properties for the second tone. (Details are the same)
Document image
ο»Ώ

ο»Ώ

3. Specular Control

  • Specular Color - Adjust the color of the glossy part.
Document image
ο»Ώ

ο»Ώ

  • Specular Threshold - Control the area of ​​the glossy part.
Document image
ο»Ώ

ο»Ώ

  • Specular Smooth - Control the degree to which the glossy area spreads smoothly.
Document image
ο»Ώ

ο»Ώ

  • Use Specular Highlight - Turn on/off gloss expression.
Document image
ο»Ώ

ο»Ώ

4. Rim Control

  • Rim Color - Adjust the Rimlight color.
Document image
ο»Ώ

ο»Ώ

  • Rim Threshold - Adjust the area of ​​the Rimlight part.
Document image
ο»Ώ

ο»Ώ

  • Rim Smooth - Control how smooth the Rimlight spreads.
Document image
ο»Ώ

ο»Ώ

  • Use Rim Light - Turn Rimlight On/Off.
  • Light-based Mask - If Masked is selected, the rim light will not be displayed where it is not receiving light..
Document image
ο»Ώ

ο»Ώ

STEP 3 : Enhance the details

ο»Ώ

1. Shadow Threshold Texture

πŸ‘ The details below were compared in an environment using the same Shadow properties.

  • Based on the 0.5 gray texture, the darker the shadow is, the brighter the shadow is.
Document image
ο»Ώ

ο»Ώ

  • When the Shadow Threshold texture is not used
Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

  • When the Shadow Threshold texture is used
Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

2. Mask Texture

πŸ‘ The details below were compared in an environment using the same Outline property.

  • Control the masking texture for Outline, Specular, and Rim in R, B, and G channels, respectively.
Document image
ο»Ώ

ο»Ώ

When the Shadow Threshold texture is not used

Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

When the Shadow Threshold texture is used

  • Outline uses the R channel of the texture

    Document image
    ο»Ώ
Document image
ο»Ώ

ο»Ώ

πŸ‘ The details below were compared in an environment using the same Specular property.

  • The R, B, and G channels control the masking textures for the Outline, Specular, and Rim, respectively.
Document image
ο»Ώ

ο»Ώ

When Mask texture is not used

Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

When the Mask texture is used

  • Specular uses the G channel of the texture

    Document image
    ο»Ώ
Document image
ο»Ώ

ο»Ώ

πŸ‘ The details below were compared in an environment using the same rim properties.

ο»Ώ

When Mask texture is not used

Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

When the Mask texture is used

  • Rim uses the B channel of the texture
Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

3. Textured Brush

  • Expresses a specific pattern on the boundary of the Toon Shader. The texture is produced based on 0.5 gray texture.
Document image
ο»Ώ

ο»Ώ

When the Textured Brush is not used

Document image
ο»Ώ

ο»Ώ

πŸ‘ The details below were compared in an environment using the same properties.

ο»Ώ

  • When the Textured Brush is used
Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

Document image
ο»Ώ

ο»Ώ

Document image
ο»Ώ

ο»Ώ