504 Particle Lights H264

it was a very quick sort of addendum to the volumetrics chapter I want to talk about a cool little trick you can do an Eevee as well I'm just quite a bit of fun and to do so I'm just going to set up a cube and I'm gonna grab the back here and just move it out maybe many units something like that they let up not in the y-axis the other two axes really what I want to do is just set up a particle system and throw some lights in there because that's something kind of fun you can do with Eevee is you can make a particle system and throw a bunch of lights in there and then add volume metrics to them and again this is just a very quick trick rather than than something very specific so I'm gonna grab a point light and duplicate it twice just gonna illustrate this with red green and blue again just to keep it simple and we go the thrill-a-minute collection called lights and I'm going to call this a bit dog bites so let's actually set up these lights and I set the blue blue this 250 to start with and always bring this up later the screen 50 and set it to red and fifty we go I'm not gonna change much but I'm gonna add a world shader with a principal volume in here and a camera as well let's do that first there we go now we're actually looking inside the cube let's go to our world shader out of volume and now when we surrendered you can see these three lights but I want to turn them off for now and what I want to do is add in a particle system I'm gonna set the number to maybe 50 rame start + end/2 - 1 so they're all in there and the lifetime - 9099 and just so they're in there for the duration of whatever we're doing and we're gonna grab the volume so now we can see these particles we can do in render you can set this as collection there are lights collection now we can just bring down the density a little bit see there we go and let me grab my camera as well because still in the light section apparently I'm going to set my ass for two to black to go and now we've got a cool sort of lit scene and we didn't really have to do much for it now I'm gonna turn off my emitter as well oh let's not show the emitter during renderer and not sure it during in the viewport display so there you go now again I might want to tweak these a little bit I think it might have set them up a bit high quite a number of them there we go I really all I wanted to do with this is just illustrate that you can do some really fun stuff with these lights these may be our Christmas lights or something that you could use and we could move our camera through them grab the camera here let's animate it from zero way to maybe 25 and we do one more thing to our particle system and that set the physics to none so they'll stay in place and now let's grab the end of this that at 250 units so now we've got 25 we know our cameras moving 25 units and our thing is 50 units long so what we might want to do now is sort of what we looked at before we might want to optimize our volumetrics here maybe set the end at 25 because we can only see sort of so far as you can see we get a very Spacey cool looking thing and I just wanted to throw this in there as a little bit of an extra and again when we talk about the clamping we could turn on the clamping and now we just get these shades of colors and you can really just go in and customize this as much as you want again if we grab the emitter what we can do is in the re render settings we could say use count but for example we could do is we could have three times as many blue lights as the red and the green and now you can see it's mostly mostly blue or we can have mostly red lights just by the setting up the same way there you go and this is all very quick and easy to setup and I'm doing things like tunnels or other things like Vijay tunnels whatever this is so useful just to be able to set up and fly through and don't have to do a lot of work so now for example because there's more red lights we could turn up the green and the blue is the contrast that a little bit now we get a lot of really cool interesting things and again we added we didn't have to do very much for it and if we want to go really crazy we could add a texture in to our build volume as we did before so let's just set this up a quick go density is 0.1 so let's add our math node here set it to multiply and point one that way we're controlling the density of the wave texture and what we can do as well is add that same color ramp in as we did before maybe set it to diagonal this time bring up the scale that's a little bit larger we go bring up the distortion just bring up the contrast a little bit and this is what I was talking about in the previous video that you can get like nebula like effects you could add in the emission in here as well you can see even just this is quite useful as a renderer and we just hit render we could add more um more density in or more more lighting into this as we needed it but this is something like a nebula or some color whatever I don't know I don't really know what to call this but it's a fun little trick so it just goes you to show with a little bit of outside the box thinking we've added these lights in and let me turn these off so they're not visible in the scene but only in the particle system you're not a whole bunch in now one thing I do want to mention bring up the detail and we get a bit more detail if we go into our particle emitter if we turn this up really high let's say 250 you will see some slowdown so you can see it's already chugging a little bit you don't really want to overdo this if I set this to 750 you can see it's having a really hard time that being said it still renders we hit render you need to give it a second here come on you can do it there we go it's eight seconds because we have so many lights but at the same time it's a cool effect so it does work if you need something like a nebula or background I just wanted to show you this in addition to what we talked about in the volumetric section so yeah with that done let's move on I'm gonna turn this down a little bit so when you open it it's not as crazy but they go hopefully you can have fun with this and and create your own crazy setups and yeah definitely show me if you do so alright let's go to the next video