rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
The new texmode = "replace" material property default looks bad in e.g. persp3d()`, because it ignores lighting. What we really want is "modulate" but with a base colour of "white".
Maybe change the base colour to "white" in some conditions, but leave the default as "modulate"?
The new
texmode = "replace"
material property default looks bad in e.g. persp3d()`, because it ignores lighting. What we really want is "modulate" but with a base colour of "white".Maybe change the base colour to "white" in some conditions, but leave the default as "modulate"?