We use cookies on this site to enhance your user experience

Props and Light Sources

Props and Light Sources

Prerequisites
  • Students should be familair with Roblox Studio Basics like moving parts, camera controls, and the interface.
  • (Optional) Students have constructed the Parthenon. The light source in this lesson will be used to illuminate the room built in that lesson.
  • Lesson Time 10 - 15 minutes
    Optional Handouts N/A
    Learning Objectives
  • Apply complex modeling techniques like Negate and Union in order to build an oil lamp
  • Learn about particle effects by building a fire
  • Learn about light sources and settings like light range and color by creating a light to illuminates a dark room
  • Now that you’ve built the Parthenon, you’ll add lamps to light up the inside room. To build the lamp, you’ll learn about creating complex parts, adding particle effects like fire, and then using light sources to illuminate a room.

    The specific lamp in this lesson is inspired by oil lamps used in ancient Greece. Often round in shape and made with a pottery wheel, ancient Greek oil lamps were used in religious ceremonies and daily life.

    Creating the Complex Part

    The oil lamp will be a combination of parts. The base will be a sphere that will be carved to create the design.

    lamp3

    Create the Base

    1. In the Home tab, create a Sphere part named Base.

      lamp4

    2. In the Home tab, change the Material to cobblestone.

      lamp5

    Subtract Parts from the Base

    Now that you have a base, you’ll create two blocks that will be subtracted from the sphere, carving out the quarter sphere shape. Carving out parts is similar to carving out the door in building the Parthenon.

    1. Since you’ll be moving parts into other parts, turn off Collisions by making sure there’s not a gray box around the Collisions button.

      lamp6

    2. Add a Block part that cuts the sphere in half. Carving out this side will let the lamp fit on a wall.

      lamp7

    3. Add a Block part that will remove the top half of the sphere. After building the lamp, the fire will go on top.

      lamp8

    4. While holding down CTRL, select both Block parts. In the Model tab, click Negate to tell Studio you want to subtract these parts.

      lamp9

    5. Select the Base part and both red block parts. In the Model tab, click Union.

    After pressing Union, your part will look like this. Because the red blocks are Negated, they carved out sections in the base part.
    1. Rename the unioned part LightBase.

    Adding Fire

    Before adding a light source to the lamp, you’ll add an oil well and fire to the top of LightBase.

    Add a Oil Well

    1. In the Home tab, add a Sphere named OilWell.

      lamp11

    2. In the Home tab, change the color to black.

      lamp12

    3. Scale and move the OilWell halfway through LightBase like below.

      lamp13

    Create a Fire

    Fires are one type of particle emitter, just like smoke or sparkles, that can be added to a game.

    1. In the Workspace, inside OilWell, add a Fire object.
    The fire doesn't look exactly right since flames are coming out the bottom. You'll modify the properties to make it fit the lamp.

    1. While selecting Fire, go to the Properties Window and find Data. These properties let you adjust the fire’s appearance. Change the numbers for Heat and Size until the fire fits the lamp.
    1. Select LightBase and OilWell, move them inside the Parthenon’s room, and place them on a wall.

      lamp18

    Fire by itself doesn't actually create light. To light up the room, you'll add a light source on the lamp.

    Create a Light

    Lights can be added onto parts in Roblox Studio to make light. While there are different types of lights, this project will use a PointLight, a light source that shines light in all directions.

    1. In the Workspace, inside the lamp part, add a PointLight.

      lamp19

    1. In the PointLight properties, under Appearance, find Range. This is how far away the light shines. Change the Range by clicking and dragging the circle until there is enough light in the room.

    Light at 15 range

    Light at 30 range

    Once you have the range right for your room, it may look like this:

    Adjust the Fire Color

    Right now the color of the PointLight is set to white, giving the room an unrealistic look. To make the room feel more realistic and to match the color of the fire, you’ll change the PointLight’s color.

    1. Under Appearance, click the box right of Color.

      lamp24

    2. Pick a new color that will naturally go with the fire and press OK.

      lamp25
      lamp26

    3. Duplicate the lamp and move it around the room until the room has enough light.

      lamp27

    Now your avatar can see as they explore the inside of the Parthenon!

    lamp28


    These documents are licensed by Roblox Corporation under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Roblox, Powering Imagination, and Robux are trademarks of Roblox Corporation, registered in the United States and other countries.