0
0
Fork 0
mirror of https://github.com/UberGames/ioef.git synced 2025-03-29 12:10:52 +00:00
ioef/code/renderergl2/glsl/pshadow_vp.glsl

16 lines
311 B
Text
Raw Permalink Normal View History

attribute vec3 attr_Position;
attribute vec3 attr_Normal;
uniform mat4 u_ModelViewProjectionMatrix;
varying vec3 var_Position;
varying vec3 var_Normal;
void main()
{
gl_Position = u_ModelViewProjectionMatrix * vec4(attr_Position, 1.0);
var_Position = attr_Position;
var_Normal = attr_Normal;
}