Documentation / Node reference / mat nodes

mat/MeshPhong

Creates a lit material with a highlight.

Mesh

Diffuse shading plus a highlight you set by colour and size. It suits shiny surfaces such as plastic or varnish, or a stylised look.

Parameters

Name Type What it does
color Color Surface colour, before the highlight.
specular Color Highlight colour. Black removes the highlight.
shininess Float Highlight tightness. Higher gives a smaller, harder highlight.
emissive Color Colour the surface gives off. It lights nothing else.
transparencyMode UInt8 AUTO · OPAQUE · MASK · BLEND How the material's alpha is drawn.
sides UInt8 FRONT · BACK · BOTH Which side of each triangle is drawn.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.