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. 

Strange Foliage Glow Issue

I've been working on an large scale world for my survival game Atajrubah. I've been using it thus far with no issue. The result it produces when it works well speaks for itself.

alt text

Lately though I've come across a strange bug when painting foliage meshes onto my landscape .I'm using only dynamic lights and rebuilding the lighting seems to help but breaks soon after navigating to a new area.

alt text

alt text

I've got quite a lot of foliage geometry painted but I also have LOD and Culling setup. I'm using 4.1.1 built from source , any help that can be offered would be greatly appreciated.

-MrNexy

Product Version: Not Selected
Tags:
more ▼

asked May 26 '14 at 11:04 AM in Rendering

avatar image

MrNexy
139 14 15 19

avatar image Lovecraft_K ♦♦ STAFF May 26 '14 at 02:44 PM

Hey MrNexy -

What does the material setup that your foliage is using look like? Often light flares like you are showing in your screenshot can be caused by high values in Metallic or lower values in Roughness. That may not be the case here but if you post a screenshot that will give us a place to start.

Thank You

Eric Ketchum

avatar image MrNexy May 26 '14 at 08:17 PM

Hey there Eric Sure thing,

This is the material setup that I'm using at the moment for the shrubs. I was using a separate alpha texture before. I changed it to instead use the alpha channel from the color map instead. It seems to have fixed the issue to a degree within the editor but once I run it everything is blinding hehehe

alt text

I haven't been using roughness or metallic with the foliage meshes , straight forward diff,col and normal (with opacity mask where needed). I'm eager to see where this goes :)

Best Regards MrNexy

avatar image Lovecraft_K ♦♦ STAFF May 27 '14 at 02:27 PM

Hi MrNexy -

The Physically Based Material does like to have default values for metallic and roughness, so into Metallic plug a Constant 0 and into Roughness plug a constant 1. See if this happens to solve the problem. Also the glowing blue foliage you showed in your screenshot is that intentional or was that an error? It sort of looks like a Scifi Alien landscape so I think I originally took this as an intentional element but I wanted to check.

Let me know -

Eric Ketchum

avatar image MrNexy May 27 '14 at 03:25 PM

Hi Eric,

Thanks for getting back to me on that. I will give it try once I've re-compiled my shaders. I must be doing something that the engine doesn't like, it seems that one of my shaders is failing to load or corrupted because my skylight is now broken yet at the same time I'm not getting the glowing issue.

The blue glowing is definitely an error hahaha I'm building a desert environment :)

Best MrNexy

avatar image KP May 27 '14 at 05:03 PM

We are having a very similar issue (pretty much identical), that happens seemingly randomly. We tried setting the constants as you suggested for all of our materials, but the issue is still happening. Any other ideas?

avatar image Lovecraft_K ♦♦ STAFF May 27 '14 at 05:16 PM

Hey MrNexy and KP -

Would one of you be willing to share your foliage mesh asset and textures for testing? I have been trying to reproduce here but as of yet have not been able to get the same error.

Also are you both using the landscape tool?

AND finally, for your foliage meshes can you post a screenshot of yout texture and lightmap UV unwraps?

Thanks

Eric Ketchum

avatar image MrNexy May 27 '14 at 06:16 PM

Sure thing Eric. Anything I can learn from this will be very valuable indeed :)

https://drive.google.com/folderview?id=0B2hYrx7oU87vR29PVVRYejVyTzg&usp=sharing

avatar image Lovecraft_K ♦♦ STAFF May 27 '14 at 06:37 PM

MrNexy -

Thank You. Still working on getting it to happen consistently. Could I possibly get the normal for the grass as well.

avatar image MrNexy May 27 '14 at 06:38 PM

Thanks Eric. I believe that there is a normal map included if I'm not mistaken :)

avatar image Lovecraft_K ♦♦ STAFF May 27 '14 at 08:53 PM

Nope, Normal Map is an empty directory

avatar image MrNexy May 27 '14 at 08:58 PM

There you go , just in case my google drive is doing something strange :) https://dl.dropboxusercontent.com/u/5944013/Foliage%20Mesh%20For%20Eric.zip

avatar image KP May 27 '14 at 08:56 PM

Hey Eric, I don't know if this is the case for MrNexy, but I saw that you said you are trying to get it to happen consistently, so I'm assuming you've got it to happen at least once. Again I don't know if this is true for MrNexy, but in our case, it doesn't happen every time and occurs rather randomly going in and out of play mode. Hopefully that's helpful in some way. KP

avatar image MrNexy May 27 '14 at 08:59 PM

It was the same on my end at first , then it became far more persistent.

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

2 answers: sort voted first

Does the artifact go away when you set the 'r.Cache.LightingCacheDimension' console variable to 128? There's a bug with many (>1728) movable components right now that will cause this. Instanced foliage currently does not support lightmaps correctly which are used when the components have static mobility, so both routes are a bit broken.

more ▼

answered May 28 '14 at 02:46 AM

avatar image

DanielW STAFF
1.9k 31 11 72

avatar image KP May 28 '14 at 04:39 PM

This sounds promising. Where would one go about setting that? Thanks, KP

avatar image MrNexy May 28 '14 at 09:19 PM

I started up the editor and entered this into the console once I played the game from inside the editor but no luck. Is there an INI file that I can add this to that gets called when the editor starts up ? Sorry for the slow reply.I wanted to double check everything before I said anything.

One thing that I have noticed however, if I start the game in an area with very few foliage meshes then everything seems to work fine when I navigate to an area with a higher density. I wouldn't imagine that this is terribly high on your list of bugs to work on but would you venture a guess as to weather this may be improved upon in future updates ?

Best Regards MrNexy

avatar image DanielW STAFF Jun 02 '14 at 07:24 PM

Yeah sorry I forgot that's one of the console variables that can't be changed at runtime, and console variables you enter in the console don't get saved. You can add it to Engine/Config/consolevariables.ini for a quick test.

We certainly want to fix it, I'm just not sure when we will get a chance. Hopefully in 4.4.

avatar image MrNexy Jun 04 '14 at 02:00 PM

No worries DanielW , thanks for getting back to us on that one. I've made some adjustments and the issue seems to have been resolved. I shall add the line you suggested to consolevariables.ini to be on the safe side.

avatar image fdslk Jul 04 '14 at 08:36 PM

care to share how did you solve it mate? I'm having the exactly same issue! :/ I don't know what else to do.

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

in the editor

drop down -- Show -- Lighting features ---- indirect lighting cache --- tick OFF..

solved.

more ▼

answered Oct 07 '14 at 04:51 AM

avatar image

IronTaxi
26 2 7 7

(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