[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/API/WebGL_API/Tutorial [Back]  [Original]

WebGL tutorial - Web API | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

WebGL tutorial

WebGL WebGL plugin , OpenGL ES 2.0 API HTML <canvas> 3D . WebGL JavaScripts Graphics Processing Unit (GPU) (Shader code) . WebGL HTML .

WebGL <canvas> . WebGL , .

In this article

<canvas> , HTML JavaScript . <canvas> WebGL , . canvas JavaScript .

In this tutorial

Getting started with WebGL

How to set up a WebGL context.

Adding 2D content to a WebGL context

How to render simple flat shapes using WebGL.

Using shaders to apply color in WebGL

Demonstrates how to add color to shapes using shaders.

Animating objects with WebGL

Shows how to rotate and translate objects to create simple animations.

Creating 3D objects using WebGL

Shows how to create and animate a 3D object (in this case, a cube).

Using textures in WebGL

Demonstrates how to map textures onto the faces of an object.

Lighting in WebGL

How to simulate lighting effects in your WebGL context.

Animating textures in WebGL

Shows how to animate textures; in this case, by mapping an Ogg video onto the faces of a rotating cube.


Web Proxy Viewer  |  New URL  |  Original Page