generateLabelVertexShader
generateLabelVertexShader():
string
Defined in: packages/sigma/src/rendering/nodes/labels/generator.ts:41
Generates the label vertex shader, which positions glyphs from the shared edge distance (read from the frame texture) rather than searching the SDF.
Coordinate Systems
- Graph space: Node positions (a_anchorPosition)
- Clip space: After u_matrix transform, range [-1, 1]
- Screen space: Pixel positions, Y-down
Returns
string