mirror of
https://github.com/jorio/Pomme.git
synced 2024-12-26 14:29:38 +00:00
3DMF: support vertex attribute kQ3AttributeTypeSurfaceUV
Required for thorn submeshes in Bugdom's game over throne room (WinLose.3dmf)
This commit is contained in:
parent
375d14e266
commit
935674437f
@ -378,7 +378,8 @@ void Q3MetaFileParser::Parse_atar(uint32_t chunkSize)
|
||||
|
||||
Assert(isTriangleAttribute || isVertexAttribute, "only face or vertex attributes are supported");
|
||||
|
||||
if (isVertexAttribute && attributeType == kQ3AttributeTypeShadingUV)
|
||||
if (isVertexAttribute &&
|
||||
(attributeType == kQ3AttributeTypeShadingUV || attributeType == kQ3AttributeTypeSurfaceUV))
|
||||
{
|
||||
printf("vertex UVs");
|
||||
Assert(!currentMesh->vertexUVs, "current mesh already had a vertex UV array");
|
||||
|
Loading…
Reference in New Issue
Block a user