Why You Should Be Using Stencil / Render Layers - Unreal Engine 4.26

  Рет қаралды 98,524

William Faucher

William Faucher

Күн бұрын

Stencil Layers are a fantastic addition and a worthy competitor/replacement for Object IDs/Cryptomatte (at least in its current state).
Links:
New Instagram:
/ williamfaucher.vfx
Twitch Stream where Epic states their render layers will never be perfect:
/ 882486232
(see 02:38:21 mark specifically)
Timestamps:
00:00 - Intro
00:38 - Setup
01:58 - Setting Your Render Layers
06:34 - Best Practices and Notes
07:25 - Pros and Cons
08:38 - Combining Layers in Nuke
11:12 - Notes from Epic
14:07 - Useful Compositing Notes
14:40 - How To Color Grade Individual Layers
16:47 - Outro and Thanks

Пікірлер: 299
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
To clarify, I claim that Stencil Layers/Render Layers are better than UNREAL'S Cryptomatte/Object ID exclusively. Reason being, Cryptomatte/Object ID is pretty limited in its current state in the Unreal engine. And in order to get proper depth of field and motion blur, you need to render out Zdepth and Motion Vector passes, and combine them in a relatively complicated way, along with some math to get yout Cryptomatte to show up properly. Stencil layers are much simpler and cleaner way to work. Other renderers like Arnold, Octane, Vray, etc, have vastly superior Cryptomatte support.
@stepscourse4727
@stepscourse4727 3 жыл бұрын
I tried to follow unreal documents to combine depth and velosity for motion blur but I am new user for nuke and I can't get the point I hope to make tutorial to clearify these math settings and if the new update in 4.26.1 provide new enhancement for post production work Thanks for al your effort
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
@@stepscourse4727 Yeah it really isn't super obvious, and Epic is not very clear in their documentation about how to do this. I got it to work, but it's really not super well explained!
@stepscourse4727
@stepscourse4727 3 жыл бұрын
@@WilliamFaucher If you could get the point from documents ,please clearify to us
@kcgotfre
@kcgotfre 3 жыл бұрын
In another video you mentioned Zdepth not having a 32-bit option in MRQ. Does that mean there is no viable way to use the Cryptomatte, because you can't add proper depth of field/motion blur back in?
@stepscourse4727
@stepscourse4727 3 жыл бұрын
When I tried to add scene depth pass to movie render queue , I only get black layer , there is no any depth in it in gray or white , what control this in the scene, Although when I get world depth only pink colour
@ContentMonsters
@ContentMonsters 2 жыл бұрын
EXCEPTIONAL WORK!
@andrzejboczarowski3651
@andrzejboczarowski3651 2 жыл бұрын
One of the most useful Unreal Engine tutorials I've seen. From the first to the last minute. Thank you very much. Greetings from Poland.
@danmay3044
@danmay3044 3 жыл бұрын
He William, really great tutorials style, honest, direct and clear. Ill be recommending to my team. Looking forward to seeing more.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks so much! Short sweet and concise is what I strive for! Thanks for writing :)
@abbassadeghi1444
@abbassadeghi1444 Жыл бұрын
Very useful tut...what I really like about your videos is your idea about an issue ..you go straight out to the topic and clarifies it very well...I have learned a lot from your video tutorials William...thx
@Fhek297
@Fhek297 Жыл бұрын
This has been a headache for a month and you saved me 😂 you are a lifesaver
@griffithpictures
@griffithpictures 3 жыл бұрын
Incredible Incredible Incredible. Between you and Winbush, the sky is the limt for what UR4 can be used for. You've inspired me to ACTUALLY start a favorites list for learning UR4. Anyone learning Unreal for FX and graphics needs to watch this video. Well done!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks so much! I appreciate that! :) Best of luck with your work!
@jamaljamalwaziat1002
@jamaljamalwaziat1002 3 жыл бұрын
My best channel in vfx making with unreal engine. I am Really thankful
@leepuznowski5293
@leepuznowski5293 3 жыл бұрын
Love this stuff, keep it up. You're videos are helping me alot to make the transition from Vray to Unreal for television work. This is without a doubt the future of production work.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks Lee! Unreal still has a ways to go but it's really exciting to see just how good it is getting!
@AbhiMoz
@AbhiMoz 3 жыл бұрын
YES! This is what I was looking for coming from Redshift and Arnold's render layer
@emilpohjalainen2293
@emilpohjalainen2293 3 жыл бұрын
Holy crap this is awesome! Fantastic content dude, thanks!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks so much! Hope it helps!
@chuckerwinston917
@chuckerwinston917 Жыл бұрын
Great videos! Loving these
@bduder
@bduder 3 жыл бұрын
Awesome video! Plus is always needed when you're combining two layers that have been mutually excluded from each other, such as this case. The matte line might not always be visible in the rgb, but if you switch to view alpha you'll see it. It's amazing that you can do this in Unreal now!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Ahhh this actually makes a lot of sense! Thanks for clearing that up! I found it odd at first that we couldn’t just get a proper layer we could A over B. Now I get it!
@dulldr
@dulldr 3 жыл бұрын
Another brilliant tutorial! Thank you.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thank you so much!
@hummersepp2002
@hummersepp2002 3 жыл бұрын
William, this is super helpful. Thanks so much for sharing
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
The pleasure is mine! I only learned about how this works recently, figured I wasn't the only one to think this is gold! Thanks for watching Sepp!
@hummersepp2002
@hummersepp2002 3 жыл бұрын
@@WilliamFaucher I'm like using this as we speak :)
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Good luck!
@Vasanth_Anbu
@Vasanth_Anbu 3 жыл бұрын
*Nxt Level Nxt Level...Waiting For More Content* 😍
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks man!
@alistairbuchan
@alistairbuchan Жыл бұрын
Just getting into proper compositing so trying out nuke after Unreal in my workflow and this video is a lifesaver! Thanks! Edit: Just set my first movie render queue render going with path tracing and a couple layers on a simple 10 sec/240 frame shot. The estimated time of 6 hours just made my heart sink. Worth it in the end though.
@timforsgren5275
@timforsgren5275 3 жыл бұрын
Thanks Will! I've started learning Unreal recently, and coming from a compositors point of view I feel like there's a lack of tutorials on higher production level workflows and how to use Unreal together with Nuke - and what I can expect from the Unreal renders inside of Nuke. So all of your videos are greatly appreciated and useful, big thanks!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Hey Tim! Hope you're doing well over in Oslo! You're absolutely right, there is so little content for the compositing side of things. The main reason for that is because, well, simply put it's kind of messy right now. Most of the tools for compositing have been duct taped into the engine in a way. There's "support" for exporting lots of things but it's kind of hacky, and doesn't feel quite fully fleshed out yet. Like Cryptomatte for example. It does work, but it isn't a true crypto, and getting crypto to get motion blur and depth of field to work with it is kind of tedious. There is no 32-bit support either (although in theory the new 4.26.1 release does support it, it would seem like it's more of a 24-bit file under the hood, but I can't confirm this). I do think things will change for the better in Unreal Engine 5. I'll certainly be releasing some more Post-Production oriented videos so stay tuned!
@timforsgren5275
@timforsgren5275 3 жыл бұрын
@@WilliamFaucher Yes duct tape is a perfect metaphor for how I've experienced it so far lol, I'm constantly questioning myself if I've done something wrong. - But yes let's hope it's getting more streamlined in that aspect soon, I find myself stumbling around in Unreal quite a bit trying to do "comp stuff" while really wanting to do it in Nuke instead. But again your videos are a gold for helping with that exact problem, thanks for carrying the torch!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
@@timforsgren5275 You're not the only one to be stumbling around! It is important to keep in mind Unreal is first and foremost a games engine, not a renderer designed for VFX work. Any kind of support geared towards VFX artists has been added in as a sort of afterthought, I don't believe UE4 was designed with VFX in mind. UE4 was released back in 2014-2015, I'm not sure the devs in their wildest dreams expected it to come this far in terms of visual fidelity so it isn't totally surprising that things aren't the way we'd expect. Now that they've had a chance to see what the demand is, UE5 has the potential to rectify this. Fingers crossed.
@nickgierus6377
@nickgierus6377 3 жыл бұрын
Amazing. Thank you pal, these videos are absolute gold :-)
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
The pleasure is mine! Thanks for writing!
@DesignVDan
@DesignVDan 3 жыл бұрын
Just discovered your channel n it's really helpful very good content 👌 subscribed!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Hey there! Thank you very much! Happy to hear it helps! :)
@wilsonwarmack4284
@wilsonwarmack4284 3 жыл бұрын
Greatest tutorials on youtube!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Best commenter on youtube!
@audiodrocher
@audiodrocher 2 жыл бұрын
YAAAAASSSS!!! Thank you so much, VAT works, alpha works, me so happy 😊
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Cheers, and good luck!
@oxygencube
@oxygencube 2 жыл бұрын
Thankyou!! Very useful. Well explained.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Pleasure is mine!
@rysone3173
@rysone3173 3 жыл бұрын
This was awesome thanks!
@madlove2339
@madlove2339 2 жыл бұрын
great great video once again mate.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Thank you!
@viewee22
@viewee22 3 жыл бұрын
Super Thank you Great Faucher
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Cheers! Happy to help!
@emmanuelcambier4578
@emmanuelcambier4578 3 жыл бұрын
Terrific !!
@Kammerbild
@Kammerbild Жыл бұрын
Hello, I am not sure I you still read the comments after all this time - really cool that you reply to so many people in the first place :) I am pretty sure I followed every step like you did - but I still do have, perhaps not a black halo, but apretty jagged edge around my masks... Are there other things that could cause my masks to break? The setting you have to change in the project settings gives me the options 'allow through tonemapper' and 'linear color space ' - same problem with both... I do have also TemporalAA.Upsampling enabled for the better DOF. Also my Sky that comes from the SkyAtmo is not in the defaul layer - which is strange.
@matthiasz2338
@matthiasz2338 2 жыл бұрын
Awesome teacher, thank you.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Thanks so much!
@TheBigNegative-PhotoChannel
@TheBigNegative-PhotoChannel 3 жыл бұрын
Again an absolutely great tutorial. Just switched from Fstrom to Unreal as 4.26 finally has everything I need. is the scene available for purchase or download anywhere?
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks man! This scene is available on the Epic Marketplace for free. If it’s not there, check their Learn section, might be there.
@MrHarraga
@MrHarraga Жыл бұрын
You are the man
@8rambl3
@8rambl3 3 жыл бұрын
Really nice video.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thank you!
@MohammedIdrei
@MohammedIdrei 2 жыл бұрын
i love you .. i really find every answer i need in your videos ..
@eliogeraci
@eliogeraci Жыл бұрын
I am so happy you posted this, but one question? Have you ever tried this workflow but instead of NUKE have you ever gone to Photoshop instead to use the layers for paint over? Im running into some issues with the layers on the Photoshop end of things. Any advice would be 1000% welcome. Thanks!
@itsrabar
@itsrabar 3 жыл бұрын
as always, thanx
@MrAzimation
@MrAzimation 2 жыл бұрын
Heyo. Nice video. VFX comper here. The black haloing is due to the fact that your background image has the foreground stenciled from it. So there will always be an area where the fine reduced value edge pixels from both FG and BG don't add up. If you were building a proper comp, (say a matte painting as your background) you'd have colour values where the two edges overlap that the foreground overlaps. You could try unpremultiplying the background which might squeeze out a few pixels of solid colour so that overing works correctly. Alternatively. If you were doing layering as simple as yours. You could just render the background without any of the foreground stuff visible. So you get the whole image. Plusing can cause issues down the line if used incorrectly. You can also start to introduce super pixel values and nans the more layers and FX you apply. Like with lightwrap,blooms etc.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Hi there! Thanks so much for chiming in and sharing your explanation of things, it is much appreciated! The main reason I used plus here is because that is what was recommended by Epic themselves, so, I figured they're smarter than me in regards to this. That said, your thoughts on the matter will have me experimenting with this further. Completely agreed in regards to the issues you may run into with plus, it's not what I typically would use in a production. Thanks again!
@KingKong19100
@KingKong19100 2 жыл бұрын
Hey Will, I was wondering; is there a way to render out using this technique but not having the MRQ render a Final Image alongside a stencil layer? I am only trying to render my layers individually without the default layer rendering, and it's becoming quite taxing on my system in terms of time restraints. I've turned off Add Default Layer, yet it is still rendering the default layer. Any way to counteract this? Thanks!
@PrabhuRPR
@PrabhuRPR 2 жыл бұрын
Thank you so much!
@risnandarmultimedia5296
@risnandarmultimedia5296 3 жыл бұрын
I scratch my head so hard when compositing landscape in exr files with AfterEffects coz it's breaking up to smaller pieces so this is the answer. thanks !!!!
@STVinMotion
@STVinMotion 3 жыл бұрын
Amazing tut as always! Got an issue with trying to render God Rays on transparent background (using Exponential Height For w/ Volumetric Fog) and can't seem to make it work. It does show on black background but when rendered in EXR layers the God Rays are not showing. Any idea? Thanks 🙏
@cupcakenest
@cupcakenest 3 жыл бұрын
Awesome video, thanks for making these. Is there a way to render just the FG layer and leave the BG as is without stencil applied? Thanks
@jackandrory6839
@jackandrory6839 5 ай бұрын
thanks william it does work with png well in 5.32 now just need to get the shadows on an alpha layer
@izzaauliyairabby5291
@izzaauliyairabby5291 3 жыл бұрын
Thankyou very much, this is really helpfulla sir.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Cheers! Thanks for writing!
@kayvee9576
@kayvee9576 3 жыл бұрын
you are number 1 !
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
No you are!
@kitlee6960
@kitlee6960 3 жыл бұрын
that's helpful!~ thanks a lot~
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
You're welcome!
@MisakSamokatyan
@MisakSamokatyan 2 жыл бұрын
Thanks William for your lessons! Maybe you have testes it with glass in UE5? Glass behaves broken, not written to layers. In the Default Layer, it becomes visible through the object standing behind the glass. Maybe it's the lumens. In 4.26 everything worked well
@chiya_mohammed
@chiya_mohammed 3 жыл бұрын
thanks man!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Pleasure is mine! Thanks for watching!
@widam
@widam 2 жыл бұрын
thx!.. save my day!
@DavidWKimber
@DavidWKimber 3 жыл бұрын
So, will this work with dynamic stuff like fx? Say I want to TS some falling dust for motion blur, but I don't want other elements in the scene to be affected the same way. Could I put the effect in a Stencil Layer and have it work properly?
@stanislawmaderek8784
@stanislawmaderek8784 3 жыл бұрын
Thanks a lot! Again! ;)
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Cheers man!
@andreyn5291
@andreyn5291 2 жыл бұрын
Спасибо!
@cj5787
@cj5787 Жыл бұрын
Hello William, thanks for all your help. One question, with Unreal 5, i'm trying to get layers on a multilayer EXR using Path tracing. but I'm failing at it. is there any useful trick for this to work on Unreal 5? thanks
@rohanmandke1920
@rohanmandke1920 3 жыл бұрын
Superb, Thanks William, Is it possible to put some more highlight on Color management tool in Movie render queue.
@proyectojs
@proyectojs 9 ай бұрын
wow amazing its what i being trying to do for a long time , sorry but i have a dumb question is it possible to export the shadows from the objects so u can later put the animation in real footage in a composition sowtware so u can make a 3d real word integration along with the data smith plugin that can read camara tracking ? , thanks ur videos and patienece is awesome
@DigitalStaff
@DigitalStaff Жыл бұрын
Hey William, nice video! I am trying to get an alpha layer rendered with EXR but there is sky / fog in the back ground. Is there anyway to get the sky / fog to be transparent and not opaque? It affects my alpha. Thanks.
@mrhmakes
@mrhmakes 2 жыл бұрын
great tut as always! Do you know where I might find a stencil / render layer workflow from Unreal to Davinci Resolve?
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
You just use the exact same approach I used here, except import the renders into resolve and use fusion to comp the layers
@KingKong19100
@KingKong19100 2 жыл бұрын
Hey William! I ran into an issue with this technique, and it involves meshes that use blueprints to be connected. I have a city environment, and there are city block meshes which use blueprints to basically be connected all together and moved collectively as one mesh. The issue is that, when I actually add them to one layer, they don't render as if they were IN that layer. Is there any way to solve this issue? Thanks a lot!
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Blueprints might have some kind of limitation in this regard. I don't use blueprints that often so I can't help you out in this specific case unfortunately ;(
@JoergBruemmer
@JoergBruemmer Жыл бұрын
hey WF. Thanks for your awesome videos!!! Is there a way to convert a world partion to a normal level so I can use actor layers instead of data layers as for some reason I cannot make data layers work as stencil layers
@jiyamwijaya
@jiyamwijaya 2 жыл бұрын
Helo.. thank you for the video! btw, i have a question.. how to import the render result into After Effects? cause everytime i import, it always imported as 1 layer (BG). i cant separate between FG and BG.. thank you
@Revontuletband
@Revontuletband Жыл бұрын
Is there a way to add foliage to layer? I don't seems to be able to find one. Or maybe a way to convert existing foliage to static meshes?
@AlperBilgin-pg8zh
@AlperBilgin-pg8zh Жыл бұрын
Thank you for tutorial! Just had a question, at 4:45 you say we should render in linear sRGB. Is there any reason why you didn't mention or recommend ACEScg, which from my understanding is also linear?
@WilliamFaucher
@WilliamFaucher Жыл бұрын
Because the output from Unreal is always going to be linear sRGB, regardless of whether you apply an ACEScg transform with the colorspace settings (thats just going to bake in a transform into the render). It's cleaner to just render in linear sRGB and apply a color space conversion in Nuke or Resolve. But really, this all depends on what your color pipeline is like and what's needed.
@jozinzzzzzbazin
@jozinzzzzzbazin Жыл бұрын
First of all, thank you for a great tutorial, now to the question:) : do you know why stencil layers broken in 4.27 and how it could be fixed?
@roche-s
@roche-s 6 ай бұрын
I'm getting a lot of help from your channel. Thank you. How to render Nanites view in movie render queue?
@saqib3d
@saqib3d 3 жыл бұрын
Nicely Explained does Stencil layers Support Landscape Foliage?
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Hi there! I've never tried actually, but if if can be toggled in the layers panel, then yes! My guess would be that it would have to be both landscape and landscape foliage in a single layer, no individually. But it's worth trying out.
@tbarsnessvfx
@tbarsnessvfx 3 жыл бұрын
hey William. Thanks for your amazing tutorials man really helps out allot. Quick question, hopefully you see this. I cant seem to get a proper alpha when using stencil clip in the movie render queue. When I bring it into nuke the alpha is solid and fills the frame even though the rgb of the layer is premultiplied. Im curious if you have encountered this before. Im using multichannel exr as well.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Hey! Thank you! This happens if you didn't have "Accumulator Includes Alpha" checked on in the "Deferred Rendering" tab. Very important.
@tbarsnessvfx
@tbarsnessvfx 3 жыл бұрын
@@WilliamFaucher Thank you for the reply. I figured it out. It was actually because I ended up remembering that I messed with the movieRenderQueue_customStencil material trying to fix it a few days ago. This ended up breaking the alpha. Before I asked this question I had already had already turned accumulate alpha on, but had a broken shader. Fixed by patching my install. Lesson learned ;) next time ill make sure to not mess with engine materials. If I do ill be sure to make a backup. Im a CG lead artist at the mill in LA by the way. It really helps having UE4 artist out there that are happy to help out online. The industry is changing quickly and its all hands on deck.
@septic07
@septic07 3 жыл бұрын
One quick question: I'm trying to implement unreal as my main render engine for VFX. Do you already have or would you please be so kind and make a tutorial for a shadow catcher in unreal? That would be such a big help, especially since your tutorials feel much more informative than most others on KZfaq. Thanks for your great work!
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Ah thanks so much man! I appreciate that! I genuinely don't think UE4 is quiiiiite ready for a true VFX application. When you say shadow catcher, I assume you mean rendering out a shadow pass? As far as I'm aware there is no native solution for that. You might be able to render out something with the help of a Post Process Material but I can't really say more than that, as I have not yet found a tried and true solution for this myself. Sorry if that wasn't the answer you were hoping for!
@mdmpzero
@mdmpzero Жыл бұрын
is this the same process for working with path tracer and an aces colour space? or is it better to disable the aces colour output and disable the curve tone?
@mindseyepr
@mindseyepr 8 ай бұрын
Am I correct in seeing some limitations to the Nuke Unreal Reader when it comes to stencil layers? I seems I can only add individual objects as stencil layers, but in UE I can add multiple objects into a single stencil layer. Am I understanding this right?
@xiaochaoo
@xiaochaoo 2 жыл бұрын
Hi Will, thanks for your videos, they have been tremendously helpful to my journey in learning unreal engine for film making. Would like to know if you know a way to render out niagara particles with alpha channel? I have been trying to do this but it just doesn't work. The particles don't show up in compositing softwares.
@NUAGEFilms
@NUAGEFilms Жыл бұрын
Did you find a way of making it work?
@Kuckooracha
@Kuckooracha 2 жыл бұрын
Hey William, great stuff as always! I do have a question: what can I do to have all the layers in "full"? Stencils leave a black mask where the foreground is, which is great for compositing, but sometimes I need the full background behind the foreground.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
You have to hide the foreground before rendering then!
@Kuckooracha
@Kuckooracha 2 жыл бұрын
@@WilliamFaucher I tried that, but I was wondering if there was a way to automate this as it's a little time consuming to do; I guess I'll keep doing it manually. Thanks!
@brandonrosado6384
@brandonrosado6384 2 жыл бұрын
@@Kuckooracha add a tag to your foreground objects and make an event track in sequencer that gets all actors and with that tag and hides them on frame 0
@Kuckooracha
@Kuckooracha 2 жыл бұрын
@@brandonrosado6384 You know what that's actually super simple and elegant, thanks for the idea
@thisisriil
@thisisriil 2 жыл бұрын
When I switch to alpha inside Nuke, there is no Aplha present (no white, pure black) use the same setting as this video, any thoughts?
@KingKong19100
@KingKong19100 2 жыл бұрын
Hey Will! I just ran into an issue I thought you'd find interesting regarding Stencil Layers. Firstly, let me start off by saying that I have been using PNG instead of EXR while keeping all other settings intact and it has been working just fine (afraid to use EXR since my monitor is shit). But anyways, so this method you showed actually does NOT work if you are using Console Variables. And I mean ANY kind of console variable as far as my experiments went. I kept getting my foreground layers with black backgrounds, and then I realized that when I turned off my Console Variables the alphas were rendering just fine. My temporary solution is to save 2 setting presets. First one is going to be following your tutorial with the Deferred Rendering enabled and Console Variables disabled, then the second one I enable my console variables and disable the Deferred Rendering.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
I'm not sure Stencil Layers works all that well with PNG. The reason I use EXR is because EXR is not just a fileformat, it's a container for data, capable of storing several layers of data within the same file. In one single EXR file I can have all the render passes, all the alpha passes, and all the Object ID's. It is vastly superior in every single way over PNG.
@bestOskarEverxD
@bestOskarEverxD 10 ай бұрын
is this still up to date or is the default cryptomatte workflow more suffisticated these days? Looking for ways to get the motion blur pass working, but it just stays green for me. I do get MB in the beauty pass though.
@tangxin9258
@tangxin9258 3 жыл бұрын
Very helpful indeed,BTW,your accent is cute.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Haha thanks so much!
@JimJams-qf9vv
@JimJams-qf9vv 3 ай бұрын
Amazing! Would this work with path tracing?
@yastremski
@yastremski 2 жыл бұрын
Sweet jesus I've been troubleshooting for hours as to why my alpha wasn't coming through, now seeing in your video a brief mention that screen percentage is not supported. Weird that this isn't in the docs. THANK-YOU!
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Glad to hear it helped! It's such a small thing that can break it haha
@MrAjayrocks007
@MrAjayrocks007 8 ай бұрын
@WilliamFaucher Hello Everyone I have a question I am being able to apply different material to same mesh using keyframe in sequencer, but at the same time I want the mesh to also change, what is the best method to do so? It is regarding mask renders only not blueprints(not for play mode). Also wanted to know can we change materials of a group of objects/multiple objects at the same time. Actually I have a tried using actors hidden in game in a sequencer, just wanted to know is there any other method to do so. Thank you in advance.
@DigitalDave
@DigitalDave 2 жыл бұрын
Hey Will! trying this out in 4.27 with the path tracer and I get a black output in the exr file, switched to deferred and it instantly works. Is this unsupported with the path tracer?
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Pathtracing doesn't support stencil layers, sorry! Nor does it support alpha channels at this time.
@DigitalDave
@DigitalDave 2 жыл бұрын
@@WilliamFaucher gotcha, can't wait for path tracing to develop further. Seriously impressive stuff, much faster than Redshift
@mrtnmur
@mrtnmur Жыл бұрын
How do you add reflections in the foreground layer if you are using a transparent glass material?
@RepaireroftheBreach
@RepaireroftheBreach Жыл бұрын
Hi William, is there a way to create an alpha hold out on a stencil layer? I have a person on green screen footage in a U5 environment and I get the stencil layer working so I can grade the live action footage indpendently from the 3D environment, but when a 3D object in the foreground obstructs a portion of the person (on the media plate actor), then those portions that should be obstructed appear in front of the 3D environment. I know there is a way to do this in Blender, and I saw the alpha hold out instructions in UE documentation but it doesn't look like it means the same thing as in Blender and doesnt work the same way. When my camera in UE is filming the person and a stone fence passes in front of the media plate, I need the stenciled out layer to but cut out where the object passes in front, so that it looks correct... like the person is in the environment instead of floating on top of it all. This issue would be a major advancement in being able to integrate live action footage into a UE environment, but I can't find anything about it. Any tips would be greatly appreciated!
@brume_mp5
@brume_mp5 9 ай бұрын
did you get any replies?
@AboghnimaCGI
@AboghnimaCGI 3 жыл бұрын
Hello Thanks for your support and your time i need your help about shadow catch in render . i mean render alpha without ground plan but shadow is render with object in un real engine
@DGFA-
@DGFA- Жыл бұрын
Hi, I spend hours to get it work in UE5.0.3 but I just get the complete scene rendered out. No layer are created. Do you have an advice for me how to get it work in UE5?
@user-oo9km1lq4s
@user-oo9km1lq4s Жыл бұрын
Thank you very much for your sharing, it is very helpful to me, but I found a problem, MoveRender cannot render the cable component correctly through layering, the cable is not visible, I hope you can find a solution
@Unknowable_Void
@Unknowable_Void 8 ай бұрын
Hey Will thanks again for this great info. So I tried this stencil layers method in Nuke and for some reason the render layers appear really blown out in the Shuffle and Merge nodes. I rendered in pathtracer from MRQ and ensured that I disabled tone curve and checked on Accumulator includes alpha. default beauty pass and alphas look fine however in Nuke. I know you mentioned it wont be complete 1:1 from Unreal to Nuke but it is appearing way off. I'm using unreal 5.3.1. Any thoughts on why this might be the case? Much appreciated legend
@Unknowable_Void
@Unknowable_Void 8 ай бұрын
actually managed to get the layers to match my beauty pass by using multiply slider with a grade node it turns out
@GriffinAnimationAcademy
@GriffinAnimationAcademy 2 жыл бұрын
Hi William, I followed all your steps and it still won't render with an alpha mask. Although, I haven't been able to confirm the 'Disable screen percentage' - where is this found? Thanks!
@three-diverse
@three-diverse Жыл бұрын
Is there a way to add object that are inside blueprints to be added separately to a layer? Right now its adding the entire blueprint, but i just want some parts to be separate.
@poochyboi
@poochyboi Жыл бұрын
i create still images in unreal engine using the path tracer, will this work in 5.1? im trying to create alphas for my images for objects in my scene.
@Frezer3D
@Frezer3D Жыл бұрын
Hello. Can you tell me how to render layers in "Unreal Engine 5". The usual layers are there, but in "UE5" they don't work. As I understood now instead of them "Data Layers" but they do not work with "Movie Render Queue".
@christianmilan5544
@christianmilan5544 Жыл бұрын
Hi, does anyone know if this is broken in UE5? i get my background layer with a mate of my character on it and one of my layers thar is supposse to have an object renders empty :(
@garyman
@garyman 2 жыл бұрын
Hey William, thanks so much for the channel, it's a been a great resource for Unreal. I've been banging my head against the wall trying to get an alpha channel to render. I've checked Accumulator includes alpha, I've enabled it in the project settings trying both linear and tone mapper, I've removed HDRI/skydome, I've turned off screen percentage... no matter what I try alpha comes in solid white or solid black, depending on the various settings above. What am I missing?!?!
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
Are you rendering in EXR? I don't think it works with other file formats.
@garyman
@garyman 2 жыл бұрын
@@WilliamFaucher Thanks for the reply. Yeah I'm using exr. After more testing I can render an alpha with regular deferred rendering but the path tracer does not appear to work with an alpha... which seems weird since all the docs from Epic seem to point to path tracer working w/ alpha.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
@@garyman Oh, yeah no pathtracer doesn’t support alpha, that much is clear. They state it in their pathtracer documentation last I checked.
@garyman
@garyman 2 жыл бұрын
@@WilliamFaucher Thanks for the heads up. I was looking through the docs, but I must have missed it! The fact they include the include alpha option in the path tracer makes it confusing.
@hammad__official8756
@hammad__official8756 3 жыл бұрын
Hey William,as i expected another great deep dive great work Bro keep it up....you are doing super job to learn and optimize UE4 workflows
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks so much! I appreciate it :)
@felixmagnusson
@felixmagnusson 2 жыл бұрын
Awsome tutorial, as always :) I've experienced a new error message from UE4.27: "Too many temporal samples for the given shutter angle/tick rate combination..." I believe this came when they remove the shutter angle from the Camera in Movie Render queue? I've tried to set the tick rate on the sequence but no luck. Do you know a fix?
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
hi! You need to set your motion blur value to something higher than 0 in the post process volume :) Default is 0.5.
@felixmagnusson
@felixmagnusson 2 жыл бұрын
@@WilliamFaucher Thats the weird thing, its set to 0.5 and targeting 24 fps. Starting to feel like its a bug with the level itself...
@chinmaythorat
@chinmaythorat 3 жыл бұрын
Hey William Can you make video about detailed use of GPU lightmass in 4.26 as there are no in depth tut about it ?
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
I can look into it yeah! Added to the list! :)
@chinmaythorat
@chinmaythorat 3 жыл бұрын
@@WilliamFaucher :)
@AiYaXuanDa
@AiYaXuanDa 3 жыл бұрын
Thank you so much for this great tutorial ! By the way , how can i seperate the particle FX from the stencil layer?I tried to export it but the FX rendered , is any solotion for this? Thanks again(Sorry for my bad English)
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
You are very welcome! And your English is fantastic! You need to add your desired particles FX in a separate layer (Window> Layers). In the movie render queue, in the Deferred Renderer tab, you need to add your Layer to the Stencil Layers tab, AND make sure that you have the "Accumulator Includes Alpha" checkbox checked ON, at the top of the Deferred Rendering tab.
@AiYaXuanDa
@AiYaXuanDa 3 жыл бұрын
@@WilliamFaucher COOL!Thanks you so much . I'll try it!
@harshitpenamata2682
@harshitpenamata2682 2 жыл бұрын
@@WilliamFaucher I tried this and it didnt work. Tried the fire from the starter content.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
@@harshitpenamata2682 it’s possible translucency doesn’t work so well with stencil layers, hence the fire not working
@harshitpenamata2682
@harshitpenamata2682 2 жыл бұрын
@@WilliamFaucher Maybe
@sohrabhosseini981
@sohrabhosseini981 2 жыл бұрын
i'm doing step by step but when import it in nuke, my layers haven't alpha data. i can separate layers but every layer has a black background. where is the problem?
@samuelenslin1850
@samuelenslin1850 2 жыл бұрын
Thanks for the Tutorial! I couldn´t get it to work though in UE5EA, my stencil layers just show up empty and I get a beautypass of the whole scene instead, even when "add default layer" isnt checked. Didn´t have time to test in UE4 yet though.
@WilliamFaucher
@WilliamFaucher 2 жыл бұрын
I've heard people having issues with it in UE5, this seems to boil down to the fact that that UE5 is Early Access, and not production-ready at this point.
@samuelenslin1850
@samuelenslin1850 2 жыл бұрын
@@WilliamFaucher Ok, glad to know its not just me...:) Hope the still focus more on movie making improvements for UE5 release! So much potential!
@TheAF01
@TheAF01 3 жыл бұрын
Awesome, clear, informative and insightfull video ... again ;) I wonder why the engine doesn't just simply saves (and render?) a "beauty" pass and then only one mask per layer, instead of full RGBA ... would at least cut down on file sizes ...
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Thanks Alberto! There's lots of use cases where you do want a full RGBA, that's the nature of compositing. File sizes are the least of my worries, I just want as much information/data in my .exr files as possible. Files are about to get a lot bigger when 32-bit floating point support in Unreal comes along. Better start saving up for a bigger SSD! ;)
@TheAF01
@TheAF01 3 жыл бұрын
@@WilliamFaucher LOL sure ... but my point was, if you have the beauty full RGB pass, and then one mask A per layer ... you get all the RGBA layers you need with a bit of comp tweaking, no? It's possible I'm missing something here of course
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
I’m not a comper so I can’t give you specifics, but I know there’s lots of use cases where the way the engine does it is necessary. Also it is consistent with how other renderers do it. I may be wrong but I don’t think the alpha would come out the right way if it was just one whole beauty pass + alpha channel
@DirkTeucher
@DirkTeucher 3 жыл бұрын
Has anyone tried this in Unreal 5 ? For me the level sequence I add in the movie render queue does not use the camera I have set in that sequence. If I open the level sequence up and render from there it works just fine. But I really need those render layers.
@liuning6421
@liuning6421 2 жыл бұрын
Can particle effects also be layered separately?
@heartwarrior80
@heartwarrior80 3 жыл бұрын
Great tutorial, could be useful the layers to make this? : I want some actors with an specific values Ambient Occlusion (exterior vegetation garden without baked light,), and other actors with no ambient occlusion, or very subtle values... (walls facade, interiors, windows, doors, etc...with baked light) What could be the way to use multiple values Ambient Occlusion into the same project ?? I try to use 2 Post Process Volume but the result is not what I want. Thanks William.
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
Hi there! If I understand your question correctly, I think your best best is to render multiple passes. Render one pass with AO set to a desired value, and another render with AO set to another value, and combine the two in comp. As far as I'm aware, you can't just combine two different AO values because AO is screen-space.
@heartwarrior80
@heartwarrior80 3 жыл бұрын
@@WilliamFaucher Thanks for your feedback. You understood perfectly. But I forgot to add that I need it on a vr interactive, at real time. Is it possible ?
@WilliamFaucher
@WilliamFaucher 3 жыл бұрын
In realtime I really don’t think it is, there may be some clever postprocess material one could make but as far as I’m aware, I don’t think so.
EVERYTHING to know about RENDER LAYERS in Unreal Engine 5
13:20
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 84 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 1,7 МЛН
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 67 МЛН
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 96 МЛН
#UE5 Series: Path Tracing Using Render Layers in UNREAL Engine
15:46
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1 МЛН
Unreal Engine 5.4 - Render Graph (New Feature)
27:51
renderBucket
Рет қаралды 4,7 М.
Why Rendering your Blender Project in Unreal Engine 5 is a Game-Changer!
12:29
My Unreal Engine 5.3 Commercial Render Settings
17:31
Jon Jags Nee
Рет қаралды 56 М.
Best Format to Render in Unreal Engine 5 is....
40:48
Jon Jags Nee
Рет қаралды 13 М.
UNREAL ENGINE 5.3 | ACES Pipeline
8:31
Post Processed
Рет қаралды 19 М.
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 84 МЛН