% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/additions.R
\name{set_flat_shading}
\alias{set_flat_shading}
\title{Enable flat shading for ggseg3d plot}
\usage{
set_flat_shading(p, flat = TRUE)
}
\arguments{
\item{p}{ggseg3d widget object}

\item{flat}{logical. Enable flat shading (default: TRUE)}
}
\value{
ggseg3d widget object with updated shading
}
\description{
Disables lighting effects to show colors exactly as specified.
Useful for screenshots where accurate color reproduction is needed,
such as atlas creation pipelines that extract contours from images.
}
\examples{
ggseg3d() |>
  set_flat_shading()
}
