Add support for up to 4 texture channels when importing meshes

#2667
This commit is contained in:
Wojtek Figat
2025-01-11 22:40:20 +01:00
parent 756ba0a533
commit a1c46d2e6e
31 changed files with 427 additions and 475 deletions

View File

@@ -325,6 +325,8 @@ LPCSTR RenderToolsDX::GetVertexInputSemantic(VertexElement::Types type, UINT& se
case VertexElement::Types::Attribute3:
semanticIndex = 3;
return "ATTRIBUTE";
case VertexElement::Types::Lightmap:
return "LIGHTMAP";
default:
LOG(Fatal, "Invalid vertex shader element semantic type");
return "";