Developer Notes

Won't fix. Recommend using UMG.

Description

From a Draw Material Triangle you cannot use a Material calling vertex color and the provided Vertex Color Pins to yield color on the HUD drawn triangle. It will always appear White.

[Image Removed]

Steps to Reproduce
  1. Create a 1st Person Template with No Starter Content
  2. Create a New Material with Vertex Color plugged into Base and/or Emissive Color
  3. Create a New HUD Class Blueprint
  4. In the Event Graph, Call an Event Receive Draw HUD Node
  5. From the Event Receive Draw HUD node, add a Draw Material Triangle Node
  6. Set the Draw Material Triangle Node to Material (Created Earlier); V0(0,0); V1(0,200); V2(200,0)l V0 UV (0,0); V1 UV (0,1); V2 UV (1,0); V0 Color RED; V1 Color RED; V2 Color RED
  7. Compile and Save
  8. Create a New Gamemode BP
  9. Assign the Created HUD BP to the new Gamemode
  10. In the world settings, add your new gamemode to the Override
  11. PIE

RESULTS: Triangle is Drawn White

EXPECTED: Triangle should be Red.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.8.14.8.24.9
CreatedJul 15, 2015
ResolvedSep 2, 2015
UpdatedJul 14, 2021
Pull Requests
1387 - kamrann
View Jira Issue