Commit 5d91089e authored by Georg Schäfer's avatar Georg Schäfer
Browse files

Add additinal assimp texture type for metalness.

parent 3e190fff
Pipeline #3407 passed with stage
in 13 minutes and 51 seconds
......@@ -28,8 +28,9 @@ namespace mirrage {
struct Mesh_converted_config {
Texture_mapping texture_mappings{
{Texture_type::albedo, {1, 12}}, // aiTextureType_DIFFUSE, aiTextureType_BASE_COLOR
{Texture_type::metalness, {3, 15}}, // aiTextureType_AMBIENT, aiTextureType_METALNESS
{Texture_type::albedo, {1, 12}}, // aiTextureType_DIFFUSE, aiTextureType_BASE_COLOR
{Texture_type::metalness,
{3, 11, 15}}, // aiTextureType_AMBIENT, aiTextureType_REFLECTION aiTextureType_METALNESS
{Texture_type::roughness,
{7,
2,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment