Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi ray, i'm doing some 3D modelling and i'm looking at the examples on the raylib home page. most of them include this line 

model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture;

but MATERIAL_MAP_DIFFUSE does not seem to be existing in raylib 3.5, what should i use instead?

It was changed for upcoming raylib 3.7, you can just use MAP_DIFFUSE.