Materials

There are 6 material shaders available in the webXR materials editor

Phong

Basic material with a color texture and a normal texture
Unlit

A shadeless material with a single color texture.
Lights do not affect unlit materials, recommend on models made from 3D scans where the lights are already applied.
PBR

Physically based rendering material with 3 textures: color, normal and metalness
Use it for realistic shading
Toon

Toon shading, for a cartoon effect (also called cell shading). When using toon shading, we recommend to keep only one light active on the scene, set the color to the other lights to black
Video

Same as unlit, but with a video as texture
Mask

Use the mask shader to mask other objects, great to make magic AR portal effects.
Was this article helpful?
YesNo