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 very transparent under static lighting

alt text

I need the blood stain to be much more opaque under static lighting (can't change all my lights to stationary as it's too much performance loss). I have tried playing around with the material, going through all the translucency settings and even tried the DBuffer tweak which hasn't worked at all.

Any suggestions on how to set up the material properly so I can have a masked decal show up correctly under static lighting?

Product Version: Not Selected
Tags:
blood.png (1.1 MB)
more ▼

asked Oct 16 '14 at 04:54 PM in Rendering

avatar image

Lazy Games
51 6 8 12

avatar image Hyperloop Oct 17 '14 at 03:25 AM

I ran into the same issue with decals behaving unpredictably (fading to almost nothing in bright light) I wasn't ever able to really achieve a fix for it.

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

3 answers: sort voted first

Just to help others (don't forget to restart your level/project)

alt text

more ▼

answered Jan 24 '15 at 01:29 PM

avatar image

MorskoyZmey
377 12 159 44

avatar image Snow Aug 05 '15 at 08:14 PM

Just a heads up to anyone who tries to do this; it crashed my project and wouldn't let me open it again.

Not a big deal, you can fix it from a config file. Go to: C:\Users[computer name]\Documents\Unreal Projects[project name]\Config

Open the DefaultEngine file. Scroll right to the bottom and set r.DBuffer=False

Either this doesn't work with the new version of the engine or isn't supported by my graphics card c:

avatar image Jamiex304 Mar 26 '16 at 02:44 AM

did u ever find a fix for the project no loading I have the same problem, cant get the decals working with out this setting

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

FIXED

The DBuffer enabling trick wasn't working because I missed a step not mentioned in many other forums.

In project settings I went to rendering and set early z-pass to opaque and masked meshes. This made the dbuffer decals show up and look fairly decent under static lighting.

more ▼

answered Oct 17 '14 at 11:58 AM

avatar image

Lazy Games
51 6 8 12

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

Dont use it as a translucent material. With static lights the material will get a shadow and show through. Instead make it a masked material and tweak the opacity values.

more ▼

answered Oct 16 '14 at 06:27 PM

avatar image

ChristopherPC64
723 27 20 41

avatar image Lazy Games Oct 16 '14 at 06:36 PM

There is a slight improvement with masked but still not good enough. The more intense the static light the more it fades.

avatar image ChristopherPC64 Oct 16 '14 at 07:07 PM

How opaque is your texute value wise?

avatar image Lazy Games Oct 16 '14 at 07:32 PM

I set it to a solid 1 and it's still the same. If I apply this material to a static mesh (like a plane) it works fine, just not on a decal.

avatar image Lazy Games Oct 16 '14 at 07:35 PM

I could spawn the blood as plane meshes, but around stairs it would be hovering in the air and break the illusion :/

avatar image ChristopherPC64 Oct 16 '14 at 07:45 PM

You could vertex paint in on

avatar image Lazy Games Oct 16 '14 at 08:14 PM

I may do that to put a bit of dirt & grime in places. But with the blood splatter, it spawns at enemies location when they get hit, and as far as I'm aware you can't do vertex painting at runtime.

(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