Changeset c8b0357 in opengl-game for shaders


Ignore:
Timestamp:
Aug 16, 2019, 9:31:26 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
b8b32bd
Parents:
9cd92ae
Message:

Enable rendering of geometry using multiple sets of vertex and index buffers and create a BufferInfo object to store the Vulkan objects and data related to each set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/shader.vert

    r9cd92ae rc8b0357  
    1717
    1818void main() {
    19    if (gl_VertexIndex < 8 ) {
     19   if (gl_VertexIndex < 8) {
    2020      gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 1.0);
    2121      fragColor = inColor;
Note: See TracChangeset for help on using the changeset viewer.