uniform sampler2D circle; void main() { if(texture(circle, gl_PointCoord).r < 0.5) discard; ... } 但事实上你甚至不需要纹理,因为 ...
確定! 回上一頁