Materials in Unreal Engine 251
Number: 6-M.
Description: Black Body Materials. . .
Type: Square-L
4. In the con te nt browser, look for a folder c alled Props and open it.
5. In the Props folder, look for and find a mesh called SM_MatPreviewMesh_02
and drag it into the Display Item you have already placed in the Demo Room.
6. Rotate, scale, and position the mesh so that it faces outwards from the Display
Item.
7. Alt-Drag the mesh to cr eate two copies of it on the Display Ite m (see Figure 4.36
on page 165). You can alternatively copy and paste the mesh in the editor on the
Display Item.
8. Save your level so far.
CREATING TH E BASE MATERIAL’S DIFFUSE NETWORK
We now have a display item and three meshes in the level to demon stra te our
progr ess as we go along in this tutorial.
9. In the Content Browser, find your materials folder you have created in earlier
tutorials. If you do not have one, Right-click on the Game folder, create a new
folder and call it MyMaterials.
10. Double-click o n the MyMa terials folder to open it up.
11. Create a New Material in this folder a nd call it M_BlackBody_St atic.
12. Double-click on the newly created M_BlackBody_Static material to open in
in the Material Editor.
13. The base material we will create now for o ur M_BlackBod y_Static will use
a utility expression called Black Body. This expression is used to simulate the
amount (and color) of light radiated from a hot surface at a particular temperature.
14. In the Material Editor, Left-click to the left of the Base Color and place a
Black Body expression. Make the following changes to this Texture Sam ple
expression in its Details Panel:
Description: Type i n the text “Body Radiation”.
15.
Place a Constant expression to th e left of the Body Radiation (hold 1 and
Left-click). Make the following changes to this expression in its Details
Panel:
Value: 1000.
Desc: Temp1.
16. Make the following conne ctions: