summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders
diff options
context:
space:
mode:
authorRay <[email protected]>2020-10-29 18:41:05 +0100
committerRay <[email protected]>2020-10-29 18:41:05 +0100
commit37e2d993e7c690582fd941308b970639246f36c8 (patch)
tree94a3e8fe8db93ace955025e0077afab201f4a649 /examples/shaders
parent2bcd3a6df514525e4d6d4861ad40efa27d0d55ce (diff)
downloadraylib-37e2d993e7c690582fd941308b970639246f36c8.tar.gz
raylib-37e2d993e7c690582fd941308b970639246f36c8.zip
Updated assets
Reduce size and better license CC0
Diffstat (limited to 'examples/shaders')
-rw-r--r--examples/shaders/resources/mask.pngbin57703 -> 74346 bytes
-rw-r--r--examples/shaders/resources/plasma.pngbin580562 -> 42966 bytes
-rw-r--r--examples/shaders/shaders_simple_mask.c3
3 files changed, 1 insertions, 2 deletions
diff --git a/examples/shaders/resources/mask.png b/examples/shaders/resources/mask.png
index b871f05c..6fb5ded3 100644
--- a/examples/shaders/resources/mask.png
+++ b/examples/shaders/resources/mask.png
Binary files differ
diff --git a/examples/shaders/resources/plasma.png b/examples/shaders/resources/plasma.png
index e706c64a..ebdf13b7 100644
--- a/examples/shaders/resources/plasma.png
+++ b/examples/shaders/resources/plasma.png
Binary files differ
diff --git a/examples/shaders/shaders_simple_mask.c b/examples/shaders/shaders_simple_mask.c
index b24d7216..cf1ee905 100644
--- a/examples/shaders/shaders_simple_mask.c
+++ b/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;