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 - Unreal Engine Tutorial
From the course: Unreal: Blueprint
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Working with variables2m 27s
-
(Locked)
Variables Get and Set4m 55s
-
(Locked)
Create random streams7m 27s
-
(Locked)
Creating custom events2m 37s
-
(Locked)
Custom events between Blueprints6m 8s
-
(Locked)
Sending data to materials4m 1s
-
(Locked)
Database hub communication6m 17s
-
(Locked)
Get and set variables between Blueprints5m 7s
-
-
-
-
-