Back to Browse

WebGL React component - EP2 - drawing a triangle

3.4K views
Dec 15, 2018
35:17

the complete code can be found here. https://github.com/jonathanrydholm/webgl-boilerplate Each episode, I´ll create a new commit with the episode number as commit message. This is a pretty long episode because there a lot of things that needs to be covered before we can render anything. data: const vertices = [ 0.0, 0.5, 0.0, -0.5, -0.5, 0.0, 0.5, -0.5, 0.0 ]; const indices = [0,1,2];

Download

1 formats

Video Formats

360pmp448.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

WebGL React component - EP2 - drawing a triangle | NatokHD