Py5Graphics.shininess()#
Sets the amount of gloss in the surface of shapes.
Description#
Sets the amount of gloss in the surface of shapes. Use in combination with Py5Graphics.ambient(), Py5Graphics.specular(), and Py5Graphics.emissive() to set the material properties of shapes.
This method is the same as shininess() but linked to a Py5Graphics
object. To see example code for how it can be used, see shininess().
Underlying Processing method: PGraphics.shininess
Signatures#
shininess(
shine: float, # degree of shininess
/,
) -> None
Updated on March 06, 2023 02:49:26am UTC