Added example demonstrating sf::VertexBuffer, sf::Shader and sf::Thread usage.

This commit is contained in:
binary1248 2017-10-24 18:58:55 +02:00 committed by Lukas Dürrenberger
parent fe1407b6b5
commit d032050ccf
7 changed files with 937 additions and 0 deletions

View file

@ -0,0 +1,8 @@
varying vec3 normal;
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_FrontColor = gl_Color;
normal = vec3(gl_MultiTexCoord0.xy, 1.0);
}