vk: do not depth-test glow sprites
makes them more like gl ones still not fully fixed though, need to work on their transparency, it should be also scaled
This commit is contained in:
parent
4f6d51c368
commit
41809b8952
|
@ -169,9 +169,9 @@ static qboolean createPipelines( void )
|
|||
case kRenderGlow:
|
||||
spec_data.alpha_test_threshold = 0.f;
|
||||
ci.depthWriteEnable = VK_FALSE;
|
||||
ci.depthTestEnable = VK_TRUE;
|
||||
ci.depthTestEnable = VK_FALSE; // Fake bloom, should be over geometry too
|
||||
ci.blendEnable = VK_TRUE;
|
||||
ci.colorBlendOp = VK_BLEND_OP_ADD; // TODO check
|
||||
ci.colorBlendOp = VK_BLEND_OP_ADD;
|
||||
ci.srcAlphaBlendFactor = ci.srcColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;
|
||||
ci.dstAlphaBlendFactor = ci.dstColorBlendFactor = VK_BLEND_FACTOR_ONE;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue