Working around gl_PointSize limitations in three.js / webGL

前端 未结 2 1952
孤街浪徒
孤街浪徒 2021-02-09 12:06

I\'m using three.js to create an interactive data visualisation. This visualisation involves rendering 68000 nodes, where each different node has a different size and color.

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-09 12:23

    Can I do something like draw a mesh for any points larger than a certain size, but use a gl_point otherwise?

    Not in WebGL.

    You can draw your particle system as a series of quads (ie: two triangles). But that's about it.

提交回复
热议问题