Vertex color ignored for FCanvasTriangleItem with material
I'm drawing a triangle onto an
Is this a bug? If it's intended, is there some other process I should be using instead of this? I'm attempting to draw some primitives from an
asked Jul 13 '15 at 11:56 PM in Bug Reports
Hi kamrann -
I have placed a bug report in as UE-18707 and will keep you informed as we investigate a solution. If you feel that you have already implemented a successful solution I do recommend submitting a pull request and reference the UE number listed above.
answered Jul 15 '15 at 08:48 PM
Lovecraft_K ♦♦ STAFF
UI only relates to screen space rather than 3D space. The Draw Material triangle node is passing a 2D vector to the material, however the Vertex Color node is expecting a 3D vector so it doesn't know what to do with what is being passed in. Since there is no depth component the value passed in is ignored. With the default VertexColor node plugged into the emissive of your material it will appear white. Using a vector 3 node to set the emissive color in the material will change the color of the triangle in game.
answered Jul 15 '15 at 02:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here