Skip to content
Snippets Groups Projects
Commit b1a6b850 authored by 최현욱's avatar 최현욱
Browse files

Update WebGLHelloAPI.js

parent bd4dba4a
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ function initialiseShaders() {
return testGLError("initialiseShaders");
}
var rrr=0;
function renderScene() {
/*
Set the clear colour
......@@ -187,8 +187,8 @@ function renderScene() {
gl.clear with the colour bit will clear the framebuffer to this vlaue.
The functions gl.clearDepth and gl.clearStencil allow an application to do the same with depth and stencil values respectively.
*/
rrr=0
gl.clearColor(0.7, 0.58, rrr, 1.0);
gl.clearColor(0.47, rrr, 0.3, 1.0);
rrr=rrr+0.01
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment