Closed jwdunn1 closed 4 years ago
Work around example...
easycam.beginHUD();
this._renderer._enableLighting = false; // fix for issue #1
...
easycam.endHUD();
noLights() is now implemented. I recommend calling noLights() immediately following beginHUD().
easycam.beginHUD();
noLights();
...
easycam.endHUD();
If lights are on, then screen-aligned objects rendered in HUD mode can be affected by the orientation of the camera. For example, given a scene with lights() and a box, if the camera is rotated around the scene, a filled rectangle rendered in the HUD context will vary in brightness. The lights should probably be turned off automatically for the HUD rendering, perhaps using noLights() (when that is implemented) or by setting this._renderer._enableLighting = false;