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"

Two Sided Foliage Material appears way to dark

Hey everyone!

I just got into unreal engine 4 again. I wanted to create a simple foliage material that I could use on my bush. So I created a mesh in blender, exported everything as I used to do and created my material in UE4 that is setup like this:

Material Setup

Now, what I expected it to look like was something like this:

Expected Result

Nice bright and translucent material that looks realistic. What I got though was this:

alt text

It looks way to dark and I don't know why. Since the two sided foliage shader model is pretty new I can't seem to find a solution on the internet. I followed some video tutorials and they all did the same as I did. I am no pro at this but I got it working the last time I worked with this engine and I would be grateful for any help in order to get it working again.

Thank you! :)

Product Version: UE 4.18
material.png (232.3 kB)
expected.png (265.5 kB)
result.png (893.3 kB)
more ▼

asked Dec 14 '17 at 11:52 AM in Rendering

avatar image

1 1 2 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You'd need to tweak the opacity value, its a little low. This is something that changed a few versions back.

and something else for some additional performance gains: put the Opacity mask texture into the alpha of your albedo.

You can also try to multiply the opacity mask texture with the green or red channel from albedo, change the values a little and not need a roughness map. if done right you can get the values quite close to the actual roughness map but save yourself one texture lookup, two if you add the opacity mask texture into the alpha channel of your albedo.

more ▼

answered Dec 14 '17 at 12:39 PM

avatar image

9.3k 286 65 330

avatar image SirPixell Dec 14 '17 at 01:38 PM

Thanks for your answer! Increasing the opacity value did not change anything. But I discovered that if I change the albedo texture brightness it gets a lot better. I think the texture itself was just to dark.

I also did what you suggested with the alpha channel and the roughness. Looks good. Thank you! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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