From the course: Unreal: Blueprint

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Sending data to materials

Sending data to materials - Unreal Engine Tutorial

From the course: Unreal: Blueprint

Start my 1-month free trial

Sending data to materials

- [Instructor] Now, we're gonna take a look at how we can get data from blueprints into unreal materials, so we can control material parameters in realtime with any data that we have in our blueprints. So, I'm gonna go into my materials folder, here. I'm gonna right click and under materials and textures, we're gonna make a new material parameter collection. I'm gonna call that MPC_01, and that you can see we can create either scale or vector parameters. And, the material parameter collections for our purpose is basically just a way to connect the world of blueprints to materials. We're gonna change the color, randomly over time. So, what we're gonna do is make a new vector parameter, so press plus. Let's go down here, we can make a new default value, which would be one across the board, and we're gonna call this color. Okay, that's all we need to do in here, so let's close that up. So, now we wanna wire that parameter into the color of the materials. So, open up my material, which is…

Contents