Fix T64903: Freestyle line alpha not working for Eevee
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 21 May 2019 15:42:24 +0000 (17:42 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 21 May 2019 15:42:45 +0000 (17:42 +0200)
source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp

index dbd770e..8a3cdd5 100644 (file)
@@ -263,6 +263,7 @@ Material *BlenderStrokeRenderer::GetStrokeShader(Main *bmain,
   }
   ma->nodetree = ntree;
   ma->use_nodes = 1;
+  ma->blend_method = MA_BM_HASHED;
 
   bNode *input_attr_color = nodeAddStaticNode(NULL, ntree, SH_NODE_ATTRIBUTE);
   input_attr_color->locx = 0.0f;