mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Moved default material properties from PGraphics to PGraphicsOpenGL/Android3D
This commit is contained in:
@@ -1724,6 +1724,12 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
|
||||
// easiest for beginners
|
||||
textureMode(IMAGE);
|
||||
|
||||
// Default material properties
|
||||
ambient(80);
|
||||
specular(125);
|
||||
emissive(0);
|
||||
shininess(1);
|
||||
}
|
||||
|
||||
// reapplySettings
|
||||
|
||||
Reference in New Issue
Block a user