mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-05 18:24:23 +00:00
Updated assets
Reduce size and better license CC0
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 73 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 567 KiB After Width: | Height: | Size: 42 KiB |
@@ -64,8 +64,7 @@ int main(void)
|
|||||||
model2.materials[0].maps[MAP_DIFFUSE].texture = texDiffuse;
|
model2.materials[0].maps[MAP_DIFFUSE].texture = texDiffuse;
|
||||||
|
|
||||||
// Using MAP_EMISSION as a spare slot to use for 2nd texture
|
// Using MAP_EMISSION as a spare slot to use for 2nd texture
|
||||||
// NOTE: Don't use MAP_IRRADIANCE, MAP_PREFILTER or MAP_CUBEMAP
|
// NOTE: Don't use MAP_IRRADIANCE, MAP_PREFILTER or MAP_CUBEMAP as they are bound as cube maps
|
||||||
// as they are bound as cube maps
|
|
||||||
Texture texMask = LoadTexture("resources/mask.png");
|
Texture texMask = LoadTexture("resources/mask.png");
|
||||||
model1.materials[0].maps[MAP_EMISSION].texture = texMask;
|
model1.materials[0].maps[MAP_EMISSION].texture = texMask;
|
||||||
model2.materials[0].maps[MAP_EMISSION].texture = texMask;
|
model2.materials[0].maps[MAP_EMISSION].texture = texMask;
|
||||||
|
|||||||
Reference in New Issue
Block a user