25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
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. }