Merge pull request #262 from alexguirre/fix-dec3n-to-rgba8-snorm

Replace Dec3N vertex format with RGBA8 SNorm
This commit is contained in:
dexyfex
2024-08-05 16:12:43 +10:00
committed by GitHub
Unverified
3 changed files with 22 additions and 37 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CodeWalker.Rendering
case VertexComponentType.Float4: return Format.R32G32B32A32_Float;
case VertexComponentType.UByte4: return Format.R8G8B8A8_UInt;
case VertexComponentType.Colour: return Format.R8G8B8A8_UNorm;
case VertexComponentType.Dec3N: return Format.R10G10B10A2_UNorm;
case VertexComponentType.RGBA8SNorm: return Format.R8G8B8A8_SNorm;
default: return Format.Unknown;
}
}