Changeset 6d95ade in opengl-game
- Timestamp:
- Apr 17, 2020, 2:48:42 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 0ecab17
- Parents:
- bf4744d
- Location:
- gl-shaders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gl-shaders/laser.frag
rbf4744d r6d95ade 13 13 14 14 in vec2 texture_coordinates; 15 in vec3 position_eye;16 15 17 16 out vec4 frag_color; -
gl-shaders/laser.vert
rbf4744d r6d95ade 14 14 15 15 out vec2 texture_coordinates; 16 out vec3 position_eye;17 16 18 17 void main() { 19 position_eye = vec3(view * model_mats[ubo_index] * vec4(vertex_position, 1.0)); 18 vec3 position_eye = vec3(view * model_mats[ubo_index] * vec4(vertex_position, 1.0)); 19 20 20 texture_coordinates = vt; 21 21
Note:
See TracChangeset
for help on using the changeset viewer.