mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-04-15 14:54:44 -04:00
- Testing a modified version of the makefile from raylib Instead of multiple project files for examples. - Fixed readme example
23 lines
452 B
GLSL
23 lines
452 B
GLSL
#version 100
|
|
|
|
attribute vec3 vertexPosition;
|
|
attribute vec3 vertexNormal;
|
|
attribute vec2 vertexTexCoord;
|
|
attribute vec4 vertexColor;
|
|
|
|
varying vec3 fragPosition;
|
|
varying vec2 fragTexCoord;
|
|
varying vec4 fragColor;
|
|
varying vec3 fragNormal;
|
|
|
|
uniform mat4 mvp;
|
|
|
|
void main()
|
|
{
|
|
fragPosition = vertexPosition;
|
|
fragTexCoord = vertexTexCoord;
|
|
fragColor = vertexColor;
|
|
fragNormal = vertexNormal;
|
|
|
|
gl_Position = mvp*vec4(vertexPosition, 1.0);
|
|
} |