摘要: Masking is implemented using the stencil buffer of the GPU. Mask是通过GPU的模板缓冲实现的,关键代码只有一行,它的作用是为Mask对象生成一个特殊的材质,这个材质会将StencilBuffer的值置为1。 var maskMateri 阅读全文
posted @ 2022-04-05 14:12 cancantrbl 阅读(363) 评论(0) 推荐(0) 编辑