- Timestamp:
- Aug 2, 2019, 8:00:34 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- bba12e7
- Parents:
- 4f63fa8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/shader.vert
r4f63fa8 radcd252 8 8 } ubo; 9 9 10 layout(location = 0) in vec 2inPosition;10 layout(location = 0) in vec3 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, 0.0,1.0);18 gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0); 19 19 fragColor = inColor; 20 20 fragTexCoord = inTexCoord;
Note:
See TracChangeset
for help on using the changeset viewer.