Changes in shaders/shader.vert [adcd252:4f63fa8] in opengl-game
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/shader.vert
radcd252 r4f63fa8 8 8 } ubo; 9 9 10 layout(location = 0) in vec 3inPosition;10 layout(location = 0) in vec2 inPosition; 11 11 layout(location = 1) in vec3 inColor; 12 12 layout(location = 2) in vec2 inTexCoord; … … 16 16 17 17 void main() { 18 gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0);18 gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 0.0, 1.0); 19 19 fragColor = inColor; 20 20 fragTexCoord = inTexCoord;
Note:
See TracChangeset
for help on using the changeset viewer.