These are chat archives for pixijs/pixi.js
Hi, Im David.
I'm making a game with pixi.js in Arpic games (Starriser). We need to represent a galaxy with thousand of connections between solar systems. For that task we use lines with PIXI.Graphics. Now we have a patch on top of pixi that draw 1px lines with GL_LINE instead of an GL_TRIANGLES. This patch has problems.
The patch is this: https://github.com/DavidBM/pixi-nativeGLline
@MortimerGoro suggested me to use this method instead: https://www.mapbox.com/blog/drawing-antialiased-lines/
He gave me a sample code and now I want to make a patch on Pixi with that code.
The code create one array buffer for the vertexs and other array for the normals and line width. I Imagine this means that I need to change the method that render and binds the uniforms and buffers.
It's documented in how to make that? what would you advise me to do that?