LitMaterial

Read with AI
All docs in one file (llms-full.txt)
LitMaterial #3D #Node
LitMaterial

Creates one material using the SynapseRack/SRLit shader and feeds it to the Material output. It is the standard 3D material, used by connecting it to the Material input of CopyToPoints or ConnectSequential. It is shaded by the lights that Light nodes feed into Scene and by Render’s Ambient, and point colors are multiplied into the base color (they are multiplied into Emission as well). The material reference is sent once at startup; after that, input changes are written directly to the properties.

  • BaseColor (default white)
  • EmissionColor (default white)
  • EmissionIntensity (default 0; negative values are treated as 0)
  • Smoothness — clamped to 0-1 (default 0.5). Determines both the sharpness and the strength of the highlight
  • Rim Intensity — clamped to 0-2 (default 0.35). Strength of the fresnel glow around the silhouette

Input ports

Port IDType
BaseColorColor
EmissionColorColor
EmissionIntensityfloat
Smoothnessfloat
Rim Intensityfloat

Output ports

Port IDType
MaterialMaterialOutput

Scriptable members

PathType
emissionIntensityInputfloat
smoothnessInputfloat
rimInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "LitMaterial" })

Also referenced from