- Timestamp:
- Feb 16, 2020, 8:18:50 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 2d87297
- Parents:
- 4ece3bf
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (02/14/20 20:41:35)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (02/16/20 20:18:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/scene.vert
r4ece3bf r5a1ace0 18 18 layout(location = 1) in vec3 inColor; 19 19 layout(location = 2) in vec2 inTexCoord; 20 layout(location = 3) in uint obj_index; 20 21 21 22 layout(location = 0) out vec3 fragColor; … … 26 27 fragTexCoord = inTexCoord; 27 28 28 gl_Position = ubo.proj * ubo.view * sbo.objects[ 0].model * vec4(inPosition, 1.0);29 gl_Position = ubo.proj * ubo.view * sbo.objects[obj_index].model * vec4(inPosition, 1.0); 29 30 }
Note:
See TracChangeset
for help on using the changeset viewer.