Graphics/MaterialPipeline: Fix Translucent2D material not having blending enabled

Former-commit-id: 699ad67cb35408eb29abccdbddbb6f550915ef7a [formerly c95de0861832ad43774b607bb189951d75d65423] [formerly 455c5598a4040549181fd0b71a73a19b996d56ac [formerly 5561a644387aab2bc0f3f49500092fd9d6f959cf]]
Former-commit-id: 14d87b3000e23f50c13a5314b2b1c790223af6d4 [formerly d065624a5f3fbcd43f6fe98c19bfda21813a5616]
Former-commit-id: fdcbfe590b55d2f039f9584567175082284cf59b
This commit is contained in:
Lynix 2016-08-14 17:58:54 +02:00
parent b2f8fc2701
commit d145abf73f
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ namespace Nz
MaterialPipelineLibrary::Register("Basic2D", GetPipeline(pipelineInfo));
// Translucent 2D - Alpha blending with no depth write/face culling
pipelineInfo.blending = false;
pipelineInfo.blending = true;
pipelineInfo.depthWrite = false;
pipelineInfo.faceCulling = false;
pipelineInfo.dstBlend = BlendFunc_InvSrcAlpha;