add drawPoint/drawLine (both slow) and drawPoints (faster) to GLInstancingRenderer, with GLSL shaders
This commit is contained in:
10
btgui/OpenGLWindow/Shaders/linesPS.glsl
Normal file
10
btgui/OpenGLWindow/Shaders/linesPS.glsl
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
#version 150
|
||||
|
||||
in vec4 colourV;
|
||||
out vec4 fragColour;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
fragColour = colourV;
|
||||
}
|
||||
Reference in New Issue
Block a user