浏览代码

Removed unused shaders

pull/23/head
raysan5 9 年前
父节点
当前提交
19721c70ff
共有 2 个文件被更改,包括 0 次插入35 次删除
  1. +0
    -14
      src/simple150.frag
  2. +0
    -21
      src/simple150.vert

+ 0
- 14
src/simple150.frag 查看文件

@ -1,14 +0,0 @@
#version 150
uniform sampler2D texture0;
in vec2 fragTexCoord;
in vec4 fragColor;
out vec4 pixelColor;
void main()
{
// Output pixel color
pixelColor = texture(texture0, fragTexCoord) * fragColor;
}

+ 0
- 21
src/simple150.vert 查看文件

@ -1,21 +0,0 @@
#version 150
uniform mat4 projectionMatrix;
uniform mat4 modelviewMatrix;
in vec3 vertexPosition;
in vec2 vertexTexCoord;
in vec4 vertexColor;
out vec2 fragTexCoord;
out vec4 fragColor;
void main()
{
// Pass some variables to the fragment shader
fragTexCoord = vertexTexCoord;
fragColor = vertexColor;
// Apply all matrix transformations to vertex
gl_Position = projectionMatrix * modelviewMatrix * vec4(vertexPosition, 1.0);
}

正在加载...
取消
保存