Changes in shaders/shader.vert [4f63fa8:adcd252] in opengl-game


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/shader.vert

    r4f63fa8 radcd252  
    88} ubo;
    99
    10 layout(location = 0) in vec2 inPosition;
     10layout(location = 0) in vec3 inPosition;
    1111layout(location = 1) in vec3 inColor;
    1212layout(location = 2) in vec2 inTexCoord;
     
    1616
    1717void main() {
    18    gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 0.0, 1.0);
     18   gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0);
    1919   fragColor = inColor;
    2020   fragTexCoord = inTexCoord;
Note: See TracChangeset for help on using the changeset viewer.