Enable alpha testing at top-level WebGlRenderer (calls
glEnable(GL_ALPHA_TEST)). Disable premultiplied alpha for now, we don't have any translucent texture reads yet. Replace dynamic branching + discard in sprite fragment shader's analytical circle rendering, do a simple lerp instead. Simplify picking fragment shader as well, return the opacity in the alpha channel instead of discarding. Change: 137707296
Showing
想要评论请 注册 或 登录