Changeset f71d87d in opengl-game
- Timestamp:
- Oct 26, 2018, 3:26:16 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- db06984
- Parents:
- e1eec78
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
laser.frag
re1eec78 rf71d87d 1 1 #version 410 2 3 #define MAX_NUM_OBJECTS 1024 2 4 3 5 uniform sampler2D basic_texture; 4 6 uniform vec3 laser_color; 7 8 // use this to allow lasers of different colors, 9 // while still drawing them all at the same time 10 layout (std140) uniform colors { 11 vec3 laser_colors[MAX_NUM_OBJECTS]; 12 }; 5 13 6 14 in vec2 texture_coordinates;
Note:
See TracChangeset
for help on using the changeset viewer.