您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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