<p>When working within a canvas element (as you do with webGL content), it's logical that you'd put your user-interface within the canvas as well, generated along with your content - but you don't need to.</p>
<p>Especially if you're first learning about webGL but know css and html, it might be quicker, easier, and more rewarding to just make a div element with a transparent background, and place that anywhere on your screen as your user-interface.</p>
<p>background-color: rgba(255, 255, 255, 0.0);</p>
<p>color: #ffffff; </p>
Get New Tutorials Delivered to Your Inbox
New tutorials will be sent to your Inbox once a week.