diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 13:51:54 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 13:59:46 +0000 |
commit | 7889392ad37213dc7419fb2423052b342e38de5b (patch) | |
tree | 87686b8b81cc9be715eefd3af3d80b28bb1584a6 /gfx/gl/shaders/basicShader.vs | |
parent | Remove now redundent Shader::Source class (diff) | |
download | ilt-7889392ad37213dc7419fb2423052b342e38de5b.tar.bz2 ilt-7889392ad37213dc7419fb2423052b342e38de5b.tar.xz ilt-7889392ad37213dc7419fb2423052b342e38de5b.zip |
dos2unix shader sources
Diffstat (limited to 'gfx/gl/shaders/basicShader.vs')
-rw-r--r-- | gfx/gl/shaders/basicShader.vs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gfx/gl/shaders/basicShader.vs b/gfx/gl/shaders/basicShader.vs index 406edc4..2ef6697 100644 --- a/gfx/gl/shaders/basicShader.vs +++ b/gfx/gl/shaders/basicShader.vs @@ -1,18 +1,18 @@ -#version 130
-
-in vec3 position;
-in vec2 texCoord;
-in vec3 normal;
-
-out vec2 texCoord0;
-out vec3 normal0;
-
-uniform mat4 viewProjection;
-uniform mat4 model;
-
-void main()
-{
- gl_Position = viewProjection * model * vec4(position, 1.0);
- texCoord0 = texCoord;
- normal0 = (model * vec4(normal, 0.0)).xyz;
-}
+#version 130 + +in vec3 position; +in vec2 texCoord; +in vec3 normal; + +out vec2 texCoord0; +out vec3 normal0; + +uniform mat4 viewProjection; +uniform mat4 model; + +void main() +{ + gl_Position = viewProjection * model * vec4(position, 1.0); + texCoord0 = texCoord; + normal0 = (model * vec4(normal, 0.0)).xyz; +} |