You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
260 B

  1. #version 450 core
  2. #pragma include ./ship_shared.glsl
  3. in FragmentData fragmentData;
  4. flat in int textureId;
  5. uniform sampler2D uTexture[3];
  6. out vec4 outColor;
  7. void main() {
  8. outColor = texture(uTexture[textureId], fragmentData.texCoords);
  9. }