From 3c2369bff2f8316cddcbacfd83ec9935ad666ea0 Mon Sep 17 00:00:00 2001 From: Robert Plummer Date: Sun, 25 Feb 2018 19:36:26 -0500 Subject: [PATCH] update documentation on Alpha --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fbb5d2f..730d37ea 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ Note: To animate the rendering, use `requestAnimationFrame` instead of `setTimeo Currently, if you need alpha do something like enabling `premultipliedAlpha` with your own gl context: ```js const canvas = DOM.canvas(500, 500); -const gl = canvas.getContext('webgl', { premultipliedAlpha: false }); +const gl = canvas.getContext('webgl2', { premultipliedAlpha: false }); const gpu = new GPU({ canvas,