ソースを参照

Updated assets

Reduce size and better license CC0
pull/1416/head
Ray 5年前
コミット
37e2d993e7
3個のファイルの変更1行の追加2行の削除
  1. バイナリ
      examples/shaders/resources/mask.png
  2. バイナリ
      examples/shaders/resources/plasma.png
  3. +1
    -2
      examples/shaders/shaders_simple_mask.c

バイナリ
examples/shaders/resources/mask.png ファイルの表示

変更前 変更後
幅: 250  |  高さ: 250  |  サイズ: 56 KiB 幅: 256  |  高さ: 256  |  サイズ: 73 KiB

バイナリ
examples/shaders/resources/plasma.png ファイルの表示

変更前 変更後
幅: 512  |  高さ: 512  |  サイズ: 567 KiB 幅: 256  |  高さ: 256  |  サイズ: 42 KiB

+ 1
- 2
examples/shaders/shaders_simple_mask.c ファイルの表示

@ -64,8 +64,7 @@ int main(void)
model2.materials[0].maps[MAP_DIFFUSE].texture = texDiffuse;
// Using MAP_EMISSION as a spare slot to use for 2nd texture
// NOTE: Don't use MAP_IRRADIANCE, MAP_PREFILTER or MAP_CUBEMAP
// as they are bound as cube maps
// NOTE: Don't use MAP_IRRADIANCE, MAP_PREFILTER or MAP_CUBEMAP as they are bound as cube maps
Texture texMask = LoadTexture("resources/mask.png");
model1.materials[0].maps[MAP_EMISSION].texture = texMask;
model2.materials[0].maps[MAP_EMISSION].texture = texMask;

読み込み中…
キャンセル
保存