Changeset 785333b in opengl-game for shaders/ship.vert


Ignore:
Timestamp:
Dec 5, 2019, 4:08:17 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
2b40f48
Parents:
055750a
Message:

Setup debug environment for ship shader lighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shaders/ship.vert

    r055750a r785333b  
    4242   light_position_eye = vec3(ubo.view * vec4(light_position_world, 1.0));
    4343
    44    gl_Position = ubo.proj * vec4(position_eye, 1.0);
     44   //gl_Position = ubo.proj * vec4(position_eye, 1.0);
     45   gl_Position = vec4(vertex_position, 1.0);
    4546}
Note: See TracChangeset for help on using the changeset viewer.