| set_flat_shading | R Documentation |
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.
set_flat_shading(p, flat = TRUE)
p |
ggseg3d widget object |
flat |
logical. Enable flat shading (default: TRUE) |
ggseg3d widget object with updated shading
## Not run:
ggseg3d() |>
set_flat_shading()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.