Themes Materials Lighting and Pipelines
Theme Roles
Use one shared ChartTheme. Its palette and typography serve 2D and 3D charts, and Appearance3D adds spatial material, lighting, label, shadow, environment and surface settings. The theme Inspector's 3D tab previews these changes.
ChartTheme theme = ChartTheme.Dark;
Chart chart = Chart3D.Create()
.Theme(theme)
.Add(new Bar3DMark(0f, 10f, 0f))
.Build();
// Edit a project ChartTheme asset's 3D appearance for a reusable custom look.
Material Presets
Set the chart's Surface Material under Style > Material. Vertex-lit matte, glossy, dark polished and glass presets, plus vertex-unlit rendering, supply common looks. A host's Material Override takes precedence over the chart preset and theme material.
Appearance3D supplies roughness and metalness defaults. Marks can override them with Roughness(value) and Metalness(value), from zero to one. The material preset and these per-mark overrides remain independent. Use scientific height or normal colormaps, or custom gradients, for surfaces; check transparency and background together.
Render Pipeline Support
The vertex-lit and vertex-unlit chart shaders include Built-in, URP and HDRP programs. They render forward and do not contribute baked GI. Pipeline packages select their matching shader programs; HDRP exposure, tonemapping and fog can still affect the final appearance.
- Check surfaces, instanced symbols, transparent marks, rule widths, labels and the final output in the target render pipeline. Use supersampling for offscreen edge quality.
Axes and Labels
Axes use the chart's X/Y/Z AxisConfig settings for grid, ticks, labels and titles. Hide an axis title with Show Title while retaining its name for tooltips. Dates work on every axis and log ticks keep small fractional values readable. Scene titles, subtitles and legends are placed outside the plot and included in framing.