Changeset c8dc5c6 in opengl-game
- Timestamp:
- Jun 14, 2018, 12:56:57 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- cf2d1e5
- Parents:
- 20e0020
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
color.vert
r20e0020 rc8dc5c6 22 22 void main() { 23 23 position_eye = vec3(view * model_mats[ubo_index] * vec4(vertex_position, 1.0)); 24 normal_eye = vec3(view * model_mats[ubo_index] * vec4 (vertex_normal, 0.0));24 normal_eye = normalize(vec3(view * model_mats[ubo_index] * vec4(vertex_normal, 0.0))); 25 25 color = vertex_color; 26 26 light_position_eye = vec3(view * vec4(light_position_world, 1.0)); -
texture.vert
r20e0020 rc8dc5c6 22 22 void main() { 23 23 position_eye = vec3(view * model_mats[ubo_index] * vec4(vertex_position, 1.0)); 24 normal_eye = vec3(view * model_mats[ubo_index] * vec4 (vertex_normal, 0.0));24 normal_eye = normalize(vec3(view * model_mats[ubo_index] * vec4(vertex_normal, 0.0))); 25 25 texture_coordinates = vt; 26 26 light_position_eye = vec3(view * vec4(light_position_world, 1.0));
Note:
See TracChangeset
for help on using the changeset viewer.