Added a geometry shader effect to the Shader example
This commit is contained in:
parent
1763861b26
commit
146f63874a
5 changed files with 152 additions and 0 deletions
5
examples/shader/resources/billboard.vert
Normal file
5
examples/shader/resources/billboard.vert
Normal file
|
@ -0,0 +1,5 @@
|
|||
void main()
|
||||
{
|
||||
// Transform the vertex position
|
||||
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue