Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

15 řádky
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. }