Retrieving map/wrap mode from material #6208
Unanswered
Developer0204
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to retrieve the map/wrap mode (aiTextureMapMode_Wrap, aiTextureMapMode_Clamp etc) from an aiMaterial.
I need that information to know what wrap mode the created textures is gonna use.
I'm trying to retrieve the map/wrap mode like this:
The
MapMode's elements are never set.The model I'm trying to get the information from is an fbx file created in Blender.
Am I misunderstanding how the GetTexture function is supposed to be used?
In Blender, I've set (what I think is) the wrap mode on the material, and this is the information I would like to receive from Assimp.
See image below.
Beta Was this translation helpful? Give feedback.
All reactions