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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Decals not showing if emissive color is set to 0?

Hi,

So, it seems that my decals are not showing up if there is no emissive color value greater than 0. This means that whatever I input in Base Color is not doing anything.

For example, a simple color of (0.5, 0.1, 0.1) for base color doesn't show up in my level. alt text alt text

If I however plug in the base color into the emissive value, I do get the decal to show up. alt text

This means that if my base decal texture has black in it. It will not display the black on the wall as if it was painted. because a value of 0, 0, 0 means don't emit any light. alt text

Which means I can't do simple stuff like this, which is on the Content examples (UE4.13)! alt text

I tried to migrate the decal from the Content examples to my project. But still the same issue. alt text

Some extra information. I am using UE4.14, compiled from GitHub. Using the Forward Rendering option, with MSAA.

Thanks,

Product Version: UE 4.14
Tags:
more ▼

asked Dec 29 '16 at 07:25 PM in Bug Reports

avatar image

Motanum
620 58 65 306

avatar image Motanum Dec 29 '16 at 08:18 PM

Okay, So I just tried out in a new project on UE4.14, same engine as the one in my original question. Left logo is just base color, and Right logo has some extra information. That is what I want on my original project. This was NOT using the Forward Rendering. alt text

I later changed to forward rendering and restarted the project. I waited for it to load and recompile all shaders again. Same result as in my project. alt text

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

1 answer: sort voted first

Well. I figured it out thanks to this question. https://answers.unrealengine.com/questions/524980/decals-in-forward-rendering-for-vr.html

You must change the Decal Blending Mode to use the DBuffer. I do lose a lot of functionality, Like metallic value and emissive color. alt text

It works now. alt text

more ▼

answered Dec 29 '16 at 08:21 PM

avatar image

Motanum
620 58 65 306

avatar image Ed Burgess ♦♦ STAFF Dec 29 '16 at 08:45 PM

I deleted my OP since we both basically had the answer posted here. In your case all I can really suggest is layering a normal deffered decal with a dbuffer if you want to make use of the emissive.

Currently we don't support metallic input for dbuffer decal and that isn't something that will work with my proposed workaround. There is a feature request that has been put in for this here: https://issues.unrealengine.com/issue/UE-36896

Feel free to vote on this issue, this is how we gauge community interest when finding time for features to implement. Also, I'm going to leave this

Thanks,

(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