摘要: ##WebGL坐标系 WebGL坐标与canvas绘图区坐标默认的对应关系如下: ##将信息从javascript中传递给顶点着色器 使用atrribute变量 1、声明atrribute变量 2、获取atrribute变量的存储位置 使用gl.getAttribLocation()来获取attri 阅读全文
posted @ 2023-05-22 15:15 MARSHBAN 阅读(28) 评论(0) 推荐(0)