mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 18:34:44 +08:00
Merge pull request #262 from alexguirre/fix-dec3n-to-rgba8-snorm
Replace Dec3N vertex format with RGBA8 SNorm
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user