-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
RenderBlend::BLEND_FACTOR is only covering constant color cases, it's missing the alpha.
The types for each API respectively:
DX12
D3D12_BLEND_ALPHA_FACTOR
D3D12_BLEND_INV_ALPHA_FACTOR
D3D12_BLEND_BLEND_FACTOR
D3D12_BLEND_INV_BLEND_FACTOR
Vulkan
VK_BLEND_FACTOR_CONSTANT_ALPHA;
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
VK_BLEND_FACTOR_CONSTANT_COLOR
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR
I was thinking BLEND_ALPHA/BLEND_COLOR as replacements (just add ALPHA_FACTOR/INV_ALPHA_FACTOR) but welcome suggestions.
Metadata
Metadata
Assignees
Labels
No labels