Added laser collision response to SpaceInvaders

This commit is contained in:
Mergul 2020-05-13 21:27:09 +02:00
parent d257a6c9f8
commit c29ace661b
4 changed files with 131 additions and 29 deletions

View file

@ -99,7 +99,7 @@ void main() {
uv = tex_coords * uv_transform.zw + uv_transform.xy;
#endif
color = vcolor;
color = vcolor * 2;
gl_Position = vec4(position.xy,depth,1.0);