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"

Decals fade in shadows

Tried everything that's been suggested just cant get this to work. My decals fade to transparent when they are in shadows. Is there something i am missing? I have set my project settings to Dbuffer decals, set Early Zpass to Opaque and masked meshes and ticked Movables in early z pass. I have also restarted the engine. Decals look great when they are in full light but as soon as they are on any object that is not in direct light then they go transparent.

Product Version: Not Selected
Tags:
more ▼

asked Mar 22 '15 at 02:13 AM in Rendering

avatar image

Minobu
56 11 8 16

avatar image Minobu Mar 22 '15 at 08:26 AM

Seriously someone help me with this and ill paypal you 20 bucks!

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

1 answer: sort voted first

Hi, I faced the exact problem today. It appears this issue has workaround described here https://answers.unrealengine.com/questions/25508/decals-not-rendered-without-direct-lighting.html

In short you need to add 3 lines in BaseEngine.ini file locad in Engine Folder C:\Program Files\Unreal Engine\4.7\Engine\Config, NOT in project folder
put these 3 lines under [SystemSettings] r.EarlyZPassMovable=1 r.EarlyZPass=2 r.DBuffer=1

Restart project

And now in Material Editor change Decal Blend Mode to something starting with DBuffer... DBufferTranslucentColor worked for me

http://gyazo.com/46bd8f605e6833c9214806766547b820

more ▼

answered Mar 22 '15 at 03:16 PM

avatar image

Faltar
6 1 1 1

avatar image Faltar Mar 22 '15 at 03:19 PM

[SystemSettings]

  • r.EarlyZPassMovable=1

  • r.EarlyZPass=2

  • r.DBuffer=1

avatar image blozixdextr Mar 06 '16 at 08:13 PM

Thank you , it works to me and save my nervous system

avatar image Minobu Mar 23 '15 at 07:08 AM

Thank you, I had figured this out late last night i was missing the blend mode, Your answer is spot on though and the most understandable i have seen, the blend mode picture will be a big help to people. So i will honor my 20 buck offer if you want it :)

(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