libgdx Shaperenderer line .. How to draw line with a specific width
I am trying to draw a line of specific width using libgdx shape renderer. I followed this link The problem is if i specify more line width i.e more than 9 it does not show increased width. More than 9 either i specify 20 or 100 pixels it will have the same result as 9 shapeRenderer.begin(ShapeType.Line); shapeRenderer.line(50, 70, 0, 50, 200, 0, Color.BLUE, Color.RED); int lineWidth = 20; // pixels Gdx.gl10.glLineWidth(lineWidth / camera.zoom); shapeRenderer.end(); Thanks Shakeel To query the range of supported widths and the size difference between supported widths within the range, call