mirror of
https://github.com/jorio/Pomme.git
synced 2024-06-03 06:29:31 +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");
|
Assert(isTriangleAttribute || isVertexAttribute, "only face or vertex attributes are supported");
|
||||||
|
|
||||||
if (isVertexAttribute && attributeType == kQ3AttributeTypeShadingUV)
|
if (isVertexAttribute &&
|
||||||
|
(attributeType == kQ3AttributeTypeShadingUV || attributeType == kQ3AttributeTypeSurfaceUV))
|
||||||
{
|
{
|
||||||
printf("vertex UVs");
|
printf("vertex UVs");
|
||||||
Assert(!currentMesh->vertexUVs, "current mesh already had a vertex UV array");
|
Assert(!currentMesh->vertexUVs, "current mesh already had a vertex UV array");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user