const gl = canvas.getContext(‘webgl’,{depth: false, antialias: false, stencil: false});
webgl的设置中,对于2d游戏,如果不要depth和stencil缓存,会有什么影响吗?
const gl = canvas.getContext(‘webgl’,{depth: false, antialias: false, stencil: false});
webgl的设置中,对于2d游戏,如果不要depth和stencil缓存,会有什么影响吗?