瀏覽代碼

Updated assets

Reduce size and better license CC0
pull/1416/head
Ray 4 年之前
父節點
當前提交
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 查看文件

Before After
Width: 250  |  Height: 250  |  Size: 56 KiB Width: 256  |  Height: 256  |  Size: 73 KiB

二進制
examples/shaders/resources/plasma.png 查看文件

Before After
Width: 512  |  Height: 512  |  Size: 567 KiB Width: 256  |  Height: 256  |  Size: 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;

Loading…
取消
儲存