Mercurial > hg > Members > e085711
comparison webGL/dandy/resources/utils3d.js~ @ 7:4343c1feedb5
upload boss.js xmlAlpha file
author | NOBUYASU Oshiro |
---|---|
date | Mon, 05 Jul 2010 17:19:51 +0900 |
parents | 10344afb38a6 |
children | 4684e849866c |
comparison
equal
deleted
inserted
replaced
6:881478004f18 | 7:4343c1feedb5 |
---|---|
95 gl.useProgram(gl.program); | 95 gl.useProgram(gl.program); |
96 | 96 |
97 gl.clearColor(clearColor[0], clearColor[1], clearColor[2], clearColor[3]); | 97 gl.clearColor(clearColor[0], clearColor[1], clearColor[2], clearColor[3]); |
98 gl.clearDepth(clearDepth); | 98 gl.clearDepth(clearDepth); |
99 | 99 |
100 gl.enable(gl.DEPTH_TEST); | 100 // gl.enable(gl.DEPTH_TEST); |
101 gl.enable(gl.BLEND); | 101 gl.enable(gl.BLEND); |
102 gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); | 102 gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); |
103 | 103 |
104 return gl; | 104 return gl; |
105 } | 105 } |