Hi folks!
I’ve been dabbling in an Issue for quite some time now, So I’ve decided to come here for help.
I’m doing a Blueprint project that once you click/touch the screen it will generate a raycast, then according to where it hits, it will generate a widget with a button containing an image inside. that image will have a brush made from a Material (that will be the same material as the object my raycast hit.
So far, everything works perfectly, except for one small issue: Only the emissive color of the material shows up on the image, everything else gets pitch black.
I’ve manaed to get around this issue by modifyng my materials adding a scalar parameter that multiplies my base color by 0, and adds it to the emissive (so they wont look weird on the game), but I can make it a dynamic material instance and multiply by 1 on the image… so they do show the color on my button’s image… this is not a satisfactory solution, so I’m still in trouble.
Unlit materials work just fine in those images too. but I need it to be able to show my regular materials.
I’ve also tried to find anything on documentation regarding if I should not place a material that’s neither unlit nor have emissive color, but everywhere I read, it allways says “you can use materials”…
So, anyone got a way for me to be able to see my regular materials on widget image/buttons/etc…?
Thanks.