Browse Source

Updated assets

Reduce size and better license CC0
pull/1416/head
Ray 4 years ago
parent
commit
37e2d993e7
3 changed files with 1 additions and 2 deletions
  1. BIN
      examples/shaders/resources/mask.png
  2. BIN
      examples/shaders/resources/plasma.png
  3. +1
    -2
      examples/shaders/shaders_simple_mask.c

BIN
examples/shaders/resources/mask.png View File

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

BIN
examples/shaders/resources/plasma.png View File

Before After
Width: 512  |  Height: 512  |  Size: 567 KiB Width: 256  |  Height: 256  |  Size: 42 KiB

+ 1
- 2
examples/shaders/shaders_simple_mask.c View File

@ -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…
Cancel
Save