- Timestamp:
- Dec 5, 2019, 4:08:17 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 2b40f48
- Parents:
- 055750a
- Location:
- shaders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
shaders/ship.frag
r055750a r785333b 43 43 vec3 Is = Ls * Ks * specular_factor; 44 44 45 outColor = vec4(Is + Id + Ia, 1.0); 45 //outColor = vec4(Is + Id + Ia, 1.0); 46 outColor = vec4(color, 1.0); 46 47 } -
shaders/ship.vert
r055750a r785333b 42 42 light_position_eye = vec3(ubo.view * vec4(light_position_world, 1.0)); 43 43 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); 45 46 }
Note:
See TracChangeset
for help on using the changeset viewer.