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"

How to make material from image w/ transparency (lots of multicolored lines?)

Hello, So I am importing this image from Photoshop with a transparent background, and import it into UE4 OK, but when I create a material from the texture (I want to add it to a BSP face), the transparent background turns into a lot of colorful horizontal lines. And I have no idea why. When I view the texture, the BG is transparent. The texture is a 512x512 PNG file. Ive tried to import as JPG/JPEG and TGA, but the background turns completely white, and the material background is also white. How do I get my material to work with the transparent portion of the image correctly? Note: The lines also appear n the material and the material thumbnail n the content browser.

Photoshop export:

alt text

Unreal Engine texture, from which the material s created

alt text

When applied to BSP as material:

alt text

Product Version: UE 4.11
Tags:
capture.png (148.4 kB)
capture.png (261.6 kB)
capture.png (181.8 kB)
more ▼

asked May 18 '16 at 12:57 AM in Using UE4

avatar image

nemesismark
1 2 4 5

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

1 answer: sort voted first

Hi!

You need to set the blend mode in a material as Translucent or Masked. And connect the alpha output to the Opacity or Opacity Mask.

alt text

transpare01.png (667.7 kB)
more ▼

answered May 18 '16 at 07:43 AM

avatar image

svv3dUDN
8.4k 254 37 396

avatar image ahmed_ais Sep 03 '18 at 04:26 PM

This works brilliantly ... thanks!

(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