Geometry Shader convert between input primitives (points,lines_adjacency)

Hi there,

I have a 256x256 texture with rg values that I’m using as the positions of particles in a geometry using instancing, is there a straightforward way to use a geometry shader to somehow treat this input as a different primitive than “points”?

Example of what I’m trying forum_question.tox (2.6 KB). I’d love to make some lines between the points.

I’ve made this work in the past with a line sop of 65k points going into a geometry that has a material which uses the geometry shader, but I want to understand if I have any options for using instancing

non_instanced_geometry_shader.tox (1.4 MB)