x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Materials on UMG images are pitch black

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.

Product Version: Not Selected
Tags:
more ▼

asked Feb 06 '15 at 05:54 PM in Rendering

avatar image

Eyez
11 1 2 2

avatar image Emingo Jul 18 '15 at 06:44 AM

I have the same issue. Did you find a solution???

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

From what I've seen, as of 4.7.6 it's not possible to render 3D objects in UMG widgets. A possible workaround is the one on this tutorial: https://engineunreal.wordpress.com/2015/04/21/render-3d-objects-in-umg-widget-hud/

more ▼

answered Sep 02 '15 at 02:17 PM

avatar image

fmartins
36 1 1 5

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question