Drawing lines on the screen on WorldRenderEvents.LAST
When I enable shaders, lines rendering works with below code (but it looks like my lines are affected by postprocessing shaders):
However when I use my own custom lines renderer with my own shaders - nothing is rendered. It is very basic code with compiling shaders, creating program, VBO/VAO, uploading buffer,
Any idea why my low level code doesn't draw anything?
However when I use my own custom lines renderer with my own shaders - nothing is rendered. It is very basic code with compiling shaders, creating program, VBO/VAO, uploading buffer,
GL30.glDrawArrays(GL30.GL_LINES, 0, buffer.vertices());, etcAny idea why my low level code doesn't draw anything?