[Closed] Decals not rendered without direct lighting?
I experienced some issues with decals not being rendered. It turned out that decals on brushes and meshes that were not directly exposed to sunlight did not render or render in an unexpected way:
I would expect the decal to render much more like that red box, that I just applied the same material to.
Am I doing something wrong? I tried the Decals content example map and they behave in a similar way. Is this intended?
The question has been closed Jun 01 '16 at 04:08 PM by Tim Hobson for the following reason:
The question is answered, right answer was accepted
That is unfortunate - we try to get that resolved. meanwhile I repost:
To solve this problem we create the DBuffer decal feature. Other implementations would be possible but they have problems we would to avoid (break physical based lighting). Documentation is coming but this is the short version:
New Experimental Feature: DBuffer Deferred Decals •Deferred decals now work with baked/lightmass lighting. That has a cost - not all projects make use of baked lighting or need proper decals so this can be enabled as a project setting and you need to change the decal blend mode.
How to activate the feature:
• To try DBuffer locally, put this into BaseEngine.ini under [SystemSettings] r.EarlyZPassMovable=1 r.EarlyZPass=2 r.DBuffer=1
• Use new DBuffer decal blend mode
•Similar changes can be made in the project settings in case you want that use that feature in your project.
EDIT: As of 4.6, you can set these console variables from above via the Project settings, as shown in the image below. You will need to restart your editor for the variables to take effect.
answered Apr 07 '14 at 09:47 PM
The default Deferred Decals with a Decal Blend Mode of Translucent, Stain, Normal or Emissive will NOT render in indirect lighting by design.
In order to get a Deferred Decal to render in indirect lighting you will need to use the Deferred DBuffer Decals. By default this type of decal is not turned on in the engine. Here is a step by step guide on enabling and using this type of decal:
I have attached a 4.9.2 project below which shows the setup and use of both of the light environments from the above examples as well as the Decal setup shown above.
Follow this question
Once you sign in you will be able to subscribe for any updates here