Any news on this topic?
Is somebody activelly using 4.19 in a scene with both interior and exterior lights? @Daedalus51 vid on the topic was an eye opener in a lot of senses but even he couldn’t get around the interior lights (point and spot lights) problem.
Even then, I had to wrap my head around a lot of very complex topics, and I know I’m a noob on the subject of physical lights, but i’m not the n00best of n00bs, and I found some concepts… complicated to say the very least (like, aproximating the total brightness of the HDRI image based on pixel values that range from dunno, 3k to 20k)
Any word from Epic on some kind of examples, standards, documentation, something?
Maybe with 4.20 blaze it release around the corner we can expect some kind of feedback on this topic?
I’m currently working on a interior+exterior archviz project in UE 4.19… I have to eyeball everything and completely ignore the meaning of the values and units that I’m using in my artificial and natural lights.
Light eyeballing has been a huge bottleneck in my archviz workflow. I can’t stress enough the importance of proper physical light system in the engine. I would venture to say that this matter is equally (or even more) important for archviz in UE4 than the Unreal Studio stuff.
Yeah, I’m also working in Archviz projects but I think this problem not only affects the Archviz community.
Is like Daedalus says in his video, UE4 offers a light system (vital for any visualization purpose, cause… you want to see things in a screen after all, and if you want to see things on a screen you will have to simulate lighting at some point or another) and one part of that system is broken or so badly documented that is unintelligible.
Then, everything falls apart, your super careful crafted and delighted photogrammetry assets, your super complex multilayered materials… what do they represent? what are they reflecting or reacting to?
I’m gonna be a PBR “purist” here, the system needs a previsible camera, a previsible Lightning and a previsible Material simulation to be called, well, a system, at all.
And what bothers me is that Epic was taking the right steps towards that unified simulated system (EVEN if was a simulation at the end of the day, EVEN if wasn’t 100% accurate, EVEN if it was an approximation)
But on the verge of settling the issue, they just… gave up? and left us with a (apparently) broken or unfinished one.
And I don’t want to get over the Fortnite conspiracy theories wagon but… fortnite doesn’t uses realistic lighting and it prints money so maybe is that, they just gave up.
I found very strange that they let pass a whole numbered update without doing any change or documenting this absolutely CORE (for the engine) issue.
Even “obscure” topics like Distance Fields are better documented than this.
Man, I kinda-maybe-almost understood what a Signed Distance Function is by reading unreal’s help files and a couple of pages on the topic! And I really really SUCK at math and everything related!
Putting a lamp in your level should be FAR easier and predictable than that. Putting a Sun, a Camera with an aperture that simulates real cameras, an aperture bracket for the auto exposure, a skylight, setting an HDRI should be… working out of the box stuff! at least, “go to the help files, read and learn you n00b” stuff!.. not a dig-in-the-forums-and-talk-with-a-guy-who-worked-for-the-star-wars-franchise stuff! that’s my point.
Is light man, is like… the base for everything you do inside the engine… is not 100% Physically accurate? no problem, but give us the numbers! I want to know what numbers I’m punching in. A random Multiply between, dunno, 0 and 1000? OK… but then why… call it Candelas and Lumens and Lux stuff??? at least I know that a random 950 is 950 times stronger than 1 in a arbitrary scale.
Anyways… I get a little angry with this issue as you can see… I don’t understand the topic so deeply as people who writes here and not knowing where else to look for makes me very upset… I love the engine, and I really wish I could use it, I’m stuck with 4.18. And 4.19-20 look amazing (The GPU acelerated bootleg thing for baking light specially)
gonna try the 4.20 preview today and test some stuff. Maybe they fixed something? Somebody said the exposure thing is even worse now, they removed options or somehting… dang man!
I’m not sure if rendering engineers will happen to read this thread sometime in the future but in case they do, as you might be aware of, physially based lighting isn’t about Sun only, but it’s also about ambient light. With directional light being physically based, best we can do is to make surfaces that are under direct light look more close to reality. But there are parts of the game world where environments are covered in shadows. You can’t make skylight physically based because all it does is capturing the sky and projecting it everywhere, that includes anywhere it shouldn’t be projecting the sky light as well. i.e interiors, forest grounds, caves etc. which makes it impossible to achieve true physically based lighting, as you’re aware. You don’t want to work on a dynamic G.I solution and we’ve accepted that as an unchangeable fact. But Image Based Lighting is the perfect solution between flat skylight and dynamic G.I. It allows every different environment and even every interior to have their own unique ambient lighting. The type of ambient lighting that actually corresponds to the environment around it. Please consider letting the artists make better looking environments in UE4 by bringing IBL to the table. It’s a rather small feature compared to majority of features you’re releasing with every engine update.
gonna quote myself from the Svogi thread. I posted this but it quickly got lost in the discussion
talking from experience, it’s possible but it’s far from being “fairly easy to hack it back in”. at this point it really means redoing the feature because the rendering and shaders changed so much since the feature was removed.
Thanks for following up on this man! I wasn’t aware of such drastic changes so I assumed it was more straightforward…so thanks for clearing that up. I know that the ARK guys are still using this technique, but I am not sure if they are running on the latest engine version and how exactly they implemented it.
Out of curiosity, since this is Cryengines main GI workflow, how do they make sure they dont capture lighting in an additive way all the time and filter out too bright spots in the distance?
I don’t know what version ARK is using. the further away they are from where DiffuseFromCaptures was removed, the more work they would’ve needed to put in to maintain/adapt it. I suspect it’s also somewhat easier to maintain the feature If you go version after version than trying to re-implement it 10 major engine versions later.
I also don’t know how CryEngine does it as I haven’t even used it (I want to learn a bit of it eventually) so I can only speculate. however I’d suspect they’d also need to turn off IBL itself during the capturing of IBL otherwise I believe it would stack up as well.
in terms of UE4 it wouldn’t really be much of an issue. just add some code that before the capture happens, iterates through all capture actors and turn them off, then turn them back on after the capture is done. or maybe with a shader define that’s aware if the rendering is happening from a reflection capture source to it simply skip it there.
I’m actually curious how this used to behave in UE4 when the DiffuseFromCaptures feature was functional
at this point I’m still busy with other stuff though so I won’t get back to this research/prototype for some weeks still
I actually remember them saying each probe has to capture the environment twice by the artists. First time the environment is captured (diffuse only since at this point ambient is black there is no specular/reflections seen from shadow covered assets) and second time it captures it takes specular highlights and reflections into account as well and reproject a more accurate image to the environment.
you’re missing the context of a scenario where baked static lighting isn’t used
for big levels the long iteration times and the huge memory footprint of lightmaps makes static lighting hardly an option. falling back to stationary or dynamic lighting then means relying on a skylight that will affect all areas the same, resulting in an unwanted homogenous lighting everywhere. this is especially problematic in games with indoor-outdoor transitions where going inside a house or a cave and having the outdoors skylight really doesn’t cut it. R[COLOR=#252C2F][SIZE=13px]eflection captures share the same principle: they are used because using the Skylight cubemap as a homogenous reflection really wouldn’t cut it.
the engine’s solution to avoid homogenous lighting is DFAO but it’s not really effective. it essentially means blocking the skylight so it’s not a replacement for ambient lighting. DFAO will still let come skylight through, and even if you manage to make it block all the skylight, then you’re rid of any sort of ambient lighting. also DFAO has a maximum effective range, and any game probably would need to have it toggleable if you want it to run on low-end hardware.
btw local IBL is a tried and tested technique (read up about it here). just because UE4 does things one way it doesn’t mean it’s the only way. specially when you really can’t use UE4’s way.
I don’t mean to derail the thread into a full IBL discussion though :)[/SIZE][/COLOR]
It’s completely valid though. Epic said “Physically Based Lighting”, which makes it apply to ambient lighting as well. Despite IBL not being quite physically based, Epic’s current ambient lighting solution breaks the “Physically Based Lighting” term into pieces as a whole.
honestly I don’t think they mean “physically based lighting” in terms of “fully realistic and physically accurate lighting”, but rather as “lighting that looks better than the good old phong”. after all the world of real time rendering is all about approximation
same way as they can’t possibly mean it when their Features page lists “Photoreal rendering in real time”. it’s just buzzwords to say “our graphics are better than Unity” (for now)
Of course. But that’s also what IBL is. Giving an approximately correct ambient light for each different environment. With skylight being the only ambient lighting solution Epic can’t claim their lighting looks better than it did in other 10 years old games.
Im my own personal brain (the chuck where still belongs to myself) I know this as a fact that between UE4’s SSAO, DFAO, Skylight, broken physical lights, and Unity’s recent advances in real time rendering (if you have seen their presentations and Book of the Dead), I think the “Photoreal rendering in real time” arrow clearly spins towards Unity atm.
That’s the Remember Me technique, which is the basis for the UE4 reflection captures. It’s only useful for lighting objects inside somewhat rectangular shaped areas. I fail to see how it would be of any use in levels that are truly large and open, specially when it was introduced in a game that is basically a string of static lit small corridors.
For outdoors you have one probe that covers the entire world and then you place local probes within the global probe. i.e this part of the forest is very dense, you put a probe here so ambient becomes darker. Other part of the forest is more sparse, you want lighter ambient light. Cave over there, you want much darker ambient light.
please try to look at the big picture, I only posted the link to the technique for explanation and not as the target use case. try to think of the use cases we’re mentioning - the idea of “localized ambient lighting” and “we can’t use baked lightmaps” should really give you enough to understand
in some cases even, the ultimate goal would be to be able to update the reflection captures at runtime (in a deferred process aka. just one at a time, updating those around the camera more frequently than the rest, etc) and be able to have dynamic IBL in scenarios where lighting changes only ever slowly (games with time of day). however reflection captures are 100% static in cooked, so that’s really more of a very long shot wish
btw I gave UE4 4.11 a roll (last UE4 version with r.DiffuseFromCaptures) and I found out that DiffuseFromCaptures never really worked as a diffuse lighting term
here’s some shots: Imgur: The magic of the Internet
all it did was add some extra color information into the reflection, but for a completely matte object it was doing absolutely nothing.
of course without applying the reflection capture as actual diffuse lighting, they never even had to deal with the issue of IBL stacking over itself when re-capturing the reflections
There are 2 different things you can do with capture probes. You can capture indirect specular, or you can capture indirect diffuse (and some approaches combine the two)
When you use Lightmass…like Remember Me did, you want to use the captures for specular only as you have all indirect lighting baked. That’s what Remember Me did and since UE3 didn’t have reflection captures, they “invented” them for UE3 and the render guy from Dontnod helped Epic with their own PBR system for UE4 later on if I am not mistaken (Seb Lagarde).
When you use dynamic lighting only, you want to use the captures for both, indirect specular and indirect diffuse via IBL.
That function is absolutely not supported in Unreal, hence you can NEVER get any localized information with dynamic lighting (if you don’t use LPV). The only thing you can get is a localized, partly shadowed skylight via DFAO. Which is one of the reasons I think DFAO is a super specific and limited feature.
All in all though, let’s stop discussing this here please, as we don’t want to clutter the thread with nonrelevant information. Its already hard for Epic to reply here, so let’s not make it any more difficult for them
I do appreciate all the good insights here though!