Graphics/MaterialPipeline: Fix Translucent2D material not having blending enabled
Former-commit-id: e8a2fd043c1abdbb9ef727bca1e31575175a2dd6 [formerly a3bb0930322858029a3fb1f5e8d67ec02536c329] [formerly 444ef3fbd363cab6453057d3cc6687a1d7663f67 [formerly d54f03800504a0f1674844f6fc13716ea0860511]] Former-commit-id: 29e0c1232ad6a8bf29797a39dabbb7f0ade8d922 [formerly 3d93398d3ea500bc6758c800823e7a15b92901c1] Former-commit-id: def6c8b2c5ec67da18f2fe913e8c3dce427b97d3
This commit is contained in:
parent
5e305a18fe
commit
1d5e071334
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue