diff --git a/src/webgl/p5.RendererGL.js b/src/webgl/p5.RendererGL.js index d99205ffb0..c9e40eca5d 100755 --- a/src/webgl/p5.RendererGL.js +++ b/src/webgl/p5.RendererGL.js @@ -95,7 +95,7 @@ p5.RendererGL = function(elt, pInst, isMainCanvas, attr) { this.drawMode = constants.FILL; this.curFillColor = this._cachedFillStyle = [1, 1, 1, 1]; - this.curAmbientColor = this._cachedFillStyle = [0, 0, 0, 0]; + this.curAmbientColor = this._cachedFillStyle = [1, 1, 1, 1]; this.curSpecularColor = this._cachedFillStyle = [0, 0, 0, 0]; this.curEmissiveColor = this._cachedFillStyle = [0, 0, 0, 0]; this.curStrokeColor = this._cachedStrokeStyle = [0, 0, 0, 1];