mirror of
https://github.com/worldforge/ember
synced 2026-08-13 16:23:06 -04:00
These are the most core and small assets needed to get Ember up and running. They should be part of the Ember repository. Any other assets, such as the "dural" assets, should be loaded dynamically when the user connects to a server.
20 lines
266 B
GLSL
20 lines
266 B
GLSL
#version 330
|
|
|
|
uniform mat4 worldViewProj;
|
|
|
|
in vec4 vertex;
|
|
in vec4 uv0;
|
|
in vec4 colour;
|
|
in vec3 normal;
|
|
|
|
out vec4 oUv0;
|
|
out vec4 oColour;
|
|
out vec3 oNormal;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = worldViewProj * vertex;
|
|
oUv0 = uv0;
|
|
oColour = colour;
|
|
oNormal = normal;
|
|
}
|