mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
Default specular light is 0.
This commit is contained in:
@@ -4019,7 +4019,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
colorMode = RGB;
|
||||
|
||||
lightFalloff(1, 0, 0);
|
||||
lightSpecular(255, 255, 255);
|
||||
lightSpecular(0, 0, 0);
|
||||
|
||||
ambientLight(colorModeX * 0.5f, colorModeY * 0.5f, colorModeZ * 0.5f);
|
||||
directionalLight(colorModeX * 0.5f, colorModeY * 0.5f, colorModeZ * 0.5f, 0, 0, -1);
|
||||
|
||||
Reference in New Issue
Block a user