Creating Glowing Materials
Introduction:
In this tutorial, we will learn how to create a glowing material for objects and lights in a 3D scene. We will use a blue cube as an example.
We encourage you to follow along with the video tutorial to ensure a successful setup.
Step 1: Adding the Blue Cube to the Scene
- Open your World and navigate to the "Models” Folder.
- Locate the "Blue Cube" and drag it into your scene.
Step 2: Accessing the Cube's Properties
- In the Inspector panel, you’ll find the properties of the blue cube.
- Note that these properties are currently grayed out and not editable.
Step 3: Opening the Mesh Settings
- To edit the cube's properties, double-click the model in the Asset Panel or click "Open."
- This will open the settings for the mesh.
Step 4: Creating a New Material
- Inside the mesh settings, locate the "Material" property.
- Since you don't have any materials yet, create a new Materials Folder and then create a new material within it.
- Double-click the newly created material in the Asset Panel to open its properties.
Step 5: Configuring the Material
- You will find the following options inside the material properties:
- Shader Type (keep it as default for now).
- Texture (which can override the Vertex Color if desired).
- Overlay Color.
- Emission Intensity (set it to a strength of 2).
Step 6: Applying the Material
- Return to the cube's properties in the Inspector.
- Select the newly created material.
Step 7: Applying the Material to Another Asset
- If you want to apply the same glowing material to another asset, repeat the process from Step 6 onwards.
Step 8: Creating Actual Light
- To create actual light from these emissions, lower the sun's value to darken the room or scene.
- In the Hierarchy panel, right-click and create a new Point Light.
- Configure the Point Light properties, including colors, strengths, and ranges, to achieve the desired lighting effect.
Step 9: Enjoy Your Glowing Room
And Voila!
You now have a lit-up room with objects and lights that use the glowing material you created.