สภาพแวดล้อมภูมิประเทศ

*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่

Studio's Terrain Editor lets you generate and sculpt detailed and realistic terrain environments such as mountains, bodies of water, grass-covered hills, or a flat desert. Terrain is made up of grids of voxels which are 4×4×4 stud regions in the 3D world with a set material.

Terrain Editor indicated in Studio's toolbar Desert terrain with mountains in the distance

Using the editor tools, you can easily generate and edit terrain either at a voxel or region level with the option of importing a heightmap and colormap. For more precise, dynamic, or procedural terrain editing, you can also script terrain creation.

วัสดุภูมิประเทศ

The following default materials are available for terrain. You can also paint custom terrain materials after you enable Expanded Terrain, or apply custom materials as overrides. Materials affect both the shape and appearance of terrain in the world; for example, animated grass renders only on the Grass material and the Water material ripples and shimmers with a subtle motion.

Appearance of Asphalt material
แอสฟัลต์
Appearance of Basalt material
บาซอลต์
Appearance of Brick material
อิฐ
Appearance of Cobblestone material
หินกรวด
Appearance of Concrete material
คอนกรีต
Appearance of Cracked Lava material
ลาวาที่แตก
Appearance of Glacier material
ธารน้ำแข็ง
Appearance of Grass material
หญ้า
Appearance of Ground material
พื้นดิน
Appearance of Ice material
น้ำแข็ง
Appearance of Leafy Grass material
หญ้าร่ม
Appearance of Limestone material
หินปูน
Appearance of Mud material
โคลน
Appearance of Pavement material
พื้นผิวถนน
Appearance of Rock material
หิน
Appearance of Salt material
เกลือ
Appearance of Sand material
ทราย
Appearance of Sandstone material
หินทราย
Appearance of Slate material
หินชนวน
Appearance of Snow material
หิมะ
Appearance of Water material
น้ำ
Appearance of Wood Planks material
แผ่นไม้
Air material icon (no visual appearance)
อากาศ

ลักษณะน้ำ

By default, terrain water ripples, oscillates, and shimmers with a subtle motion.

To customize the color and motion of water:

  1. In the Explorer window, navigate to the Workspace, then select the Terrain object.

    Terrain object shown in Explorer window of Studio
  2. In the Properties window, customize the appearance of water through the following properties:

    PropertyDescription
    WaterColorปรับสีโดยรวมของน้ำในภูมิประเทศทั้งหมดในเกม
    WaterReflectanceปรับว่าผิวน้ำสะท้อนท้องฟ้าและวัตถุรอบข้างมากน้อยเพียงใด โดยมีค่าตั้งแต่ 1 (สูง) ถึง 0 (ไม่มี)
    WaterTransparencyปรับความโปร่งใสของน้ำ โดยมีค่าตั้งแต่ 1 (ใส) ถึง 0 (ทึบ)
    WaterWaveSizeปรับขนาดของคลื่น โดยมีค่าตั้งแต่ 1 (ใหญ่) ถึง 0 (ไม่มี)
    WaterWaveSpeedปรับความเร็วของคลื่น โดยมีค่าตั้งแต่ 100 (มีคลื่น) ถึง 0 (นิ่ง)

การเคลื่อนไหวของหญ้า

While most materials are static, you can add animated blades of grass to the Grass terrain material. By default, grass sways gently in a simulated wind, and you can adjust the direction/strength of its animation through global wind.

To add animated grass to the Grass material:

  1. In the Explorer window, navigate to the Workspace, then select the Terrain object.

    Terrain object shown in Explorer window of Studio
  2. In the Properties window, toggle on the Decoration property.

    Decoration property of Terrain object in Properties window of Studio
  3. Adjust the grass length by entering a value between 0.1 and 1 for the GrassLength property.

    GrassLength property of Terrain object in Properties window of Studio GrassLength comparison depicted on rolling grassland hills.
  4. Adjust the direction and strength of its animation through global wind.

สีภูมิประเทศที่กำหนดเอง

Each terrain material is assigned a default color, but you can customize any material's color to better fit your game.

Default terrain colors used in desert landscape

To customize any material color other than water:

  1. In the Explorer window, navigate to the Workspace, then select the Terrain object.

    Terrain object shown in Explorer window of Studio
  2. In the Properties window, expand MaterialColors. All materials display with their RGB code.

    MaterialColors property shown in Properties window of Studio
  3. For any material, either input a new RGB code or click the color box to open the colors popup.

สร้างภูมิประเทศ

Using the following tools and methods, you can generate large areas of terrain procedurally through tooling or scripting, or automatically based on a heightmap and colormap.

เครื่องมือสร้าง

The Generate tool allows you to procedurally generate terrain in seconds. This is useful if you want to create a large map and fine-tune terrain details.

  1. In the editor window, navigate to the Create tab and select the Generate tool.

    Generate tool indicated in Create tab of Terrain Editor
  2. In the 3D viewport, move/resize the selection region in which to generate terrain. Alternatively, expand the tool's Selection Settings and enter values into the X/Y/Z inputs to set a specific size and position.

  3. In the tool's Biome Settings section, choose the following biomes to include in the new terrain:

    • อาร์กติก
    • เนินทราย
    • หุบเขา
    • ภูมิประเทศลาวา
    • น้ำ
    • ภูเขา
    • เนินเขา
    • ที่ราบ
    • หนองน้ำ
  4. Click the Generate button.

Heightmaps และ colormaps

A heightmap is a 2D representation of a 3D terrain map, as viewed directly from above. Brighter areas of a heightmap result in higher terrain, like mountains, while darker areas result in lower regions, like valleys.

An optional colormap, along with a heightmap, converts colors to terrain materials using a color key.

Example heightmap image
Heightmap
Example colormap image
Colormap
Terrain generated from the example heightmap and colormap
ภูมิประเทศที่สร้างขึ้น

1 pixel in a heightmap represents 4 studs in Studio, and Studio supports a maximum of 4096×4096 pixels in either .jpg or .png format.

To import a heightmap and optional colormap:

  1. In the editor window, navigate to the Create tab and select the Import tool.

    Import tool indicated in Create tab of Terrain Editor
  2. In the tool's Map Settings section, click the import button and choose the image you want to import as a heightmap.

  3. In the tool's Material Settings section, select a terrain material or, alternatively, upload a colormap.

    To apply one consistent material across all of the generated terrain, select the Material tab and pick a terrain material.

  4. In the 3D viewport, move/resize the selection region in which to generate terrain. Alternatively, enter values into the Select tool fields to set a more specific position and size.

  5. Click the Generate button.

การเขียนสคริปต์

You can script terrain generation using the Terrain class. For example, to create terrain with grass material that fills a volume, you can use methods such as FillBall(), FillBlock(), FillCylinder(), FillRegion(), or FillWedge().

Fill Block Volume
local Workspace = game:GetService("Workspace")
Workspace.Terrain:FillBlock(CFrame.new(0, 0, 0), Vector3.new(4, 4, 4), Enum.Material.Grass)

การแก้ไขขนาดใหญ่

The editor's Edit tab contains tools for large-scale editing.

เลือกพื้นที่

The Select tool is the universal tool for selecting rectangular regions of terrain.

Select tool indicated in Edit tab of Terrain Editor

Select a region by clicking and dragging in the 3D viewport, reposition it with the move draggers, and edit its size with the scale handles. Alternatively, enter values into the tool's X/Y/Z inputs to set a specific position and size.

Move draggers and scale handles on a selected region
Move draggers and scale handles on a selected region

Studio also supports the following keyboard and mouse shortcuts, assuming the Select tool is active and nothing is selected in the Explorer window.

WindowsMacAction
CtrlC⌘Cคัดลอกภูมิประเทศภายในพื้นที่ที่เลือกไปยังคลิปบอร์ด
CtrlV⌘Vวางภูมิประเทศที่ถูกคัดลอกไปยังคลิปบอร์ดและสลับไปยังเครื่องมือ Transform เพื่อให้ภูมิประเทศใหม่สามารถถูกเปลี่ยนแปลงได้
CtrlX⌘Xตัดภูมิประเทศภายในพื้นที่ที่เลือกไปยังคลิปบอร์ด
CtrlD⌘Dทำสำเนาภูมิประเทศภายในพื้นที่ที่เลือกและสลับไปยังเครื่องมือ Transform เพื่อให้ภูมิประเทศใหม่สามารถถูกเปลี่ยนแปลงได้
DeleteDeleteลบภูมิประเทศภายในพื้นที่ที่เลือก
ShiftShiftเมื่อกดค้างไว้ขณะลากที่ใด ๆ scale handle จะปรับขนาดพื้นที่อย่างสัดส่วนในทุกแกนอื่น ๆ
Ctrl⌘เมื่อกดค้างไว้ขณะลากที่ใด ๆ scale handle จะปรับขนาดพื้นที่อย่างเท่ากันในทั้งทิศทางบวกและลบตามแกนนั้น

เปลี่ยนแปลงพื้นที่

The Transform tool lets you manipulate entire selected regions to a new position, size, or orientation.

To transform a region:

  1. Select a region and then activate the Transform tool. Note that the tool will be automatically activated if you paste or duplicate terrain.

    Transform tool indicated in Edit tab of Terrain Editor
  2. In the 3D viewport, transform the region with the move draggers, rotate rings, and scale handles. Alternatively, enter values into the tool's X/Y/Z inputs to set a specific position, size, and rotation.

    Move draggers, scale handles, and rotate rings on the Y axis of a selected region

เติมและแทนที่พื้นที่

The Fill tool lets you fill an entire selected region with a specific material, or replace all material within the region with another material.

  1. Select a region, then activate the Fill tool.

    Fill tool indicated in Edit tab of Terrain Editor
  2. In the tool's Material Settings section:

    • To fill the region with a specific material, select Fill and choose the desired material.
    • To replace all terrain of one material with another material, select Replace, then choose a source material and target material.
  3. Click the Apply button or press Enter/Return.

    Region filled with Salt material
    พื้นที่ที่เลือกเต็มไปด้วยวัสดุเกลือ

ตั้งระดับน้ำทะเล

The Sea Level tool lets you create a consistent water level or remove all water within a region.

  1. Activate the Sea Level tool.

    Sea Level tool indicated in Edit tab of Terrain Editor
  2. Select the intended region by clicking and dragging the move draggers and scale handles in the 3D viewport. Alternatively, enter values into the tool's X/Y/Z inputs to set a specific position and size.

  3. Click the Evaporate button to remove water inside the selected region, or click the Create button to fill the selected region with water.

การแก้ไขรายละเอียด

The Edit tab also contains tools for precision editing using a "brush" tool to draw, sculpt, smooth, flatten, or paint terrain.

Detailed editing tools indicated in Edit tab of Terrain Editor

Each tool lets you choose from a sphere, box, or cylinder brush shape and a base size between 1–64 studs.

Brush shape and size controls in the Terrain Editor

For tools which use the brush, Studio supports the following keyboard and mouse shortcuts.

WindowsMacAction
Ctrl⌘เมื่อกดค้างไว้ขณะใช้เครื่องมือ Draw และ Sculpt จะเปิดโหมดแปรงทางเลือก ตัวอย่างเช่น เปิดโหมด "ลบ" แทนที่จะเป็นโหมด "เพิ่ม" เริ่มต้น
ShiftShiftเมื่อกดค้างไว้ขณะใช้เครื่องมือ Draw และ Sculpt จะเปิดใช้งานเครื่องมือ Smooth ชั่วคราว
BBเมื่อกดค้างไว้ขณะลากเมาส์หรือใช้ล้อเลื่อน จะปรับขนาด ฐาน ของแปรง
CtrlB⌘Bเมื่อกดค้างไว้ขณะลากเมาส์หรือใช้ล้อเลื่อน จะปรับความสูงของแปรง ใช้ได้เฉพาะเมื่อรูปทรงของแปรงตั้งค่าเป็น กล่อง หรือ กระบอก
ShiftBShiftBเมื่อกดค้างไว้ขณะลากเมาส์หรือใช้ล้อเลื่อน จะปรับ ความแข็งแรง ของแปรง ใช้ได้เฉพาะเมื่อใช้เครื่องมือ Sculpt, Smooth, หรือ Flatten
Alt⌥เมื่อกดค้างไว้ขณะคลิกเมาส์ จะเปิดแผงเลือกวัสดุ

วาด

The Draw tool เพิ่ม หรือ ลบ ภูมิประเทศโดยใช้แปรง เครื่องมือนี้ทำงานในโหมดคู่ โดยการกด Ctrl หรือ ⌘ จะเปิดโหมด "ลบ" แทนที่จะเป็นโหมด "เพิ่ม" เริ่มต้น นอกจากนี้ การกด Shift จะเปิดใช้งานเครื่องมือ Smooth ชั่วคราว

แกะสลัก

The Sculpt tool เพิ่ม หรือ ลบ ภูมิประเทศโดยใช้แปรง แตกต่างจากเครื่องมือ Draw เครื่องมือนี้มีแถบเลื่อน ความแข็งแรง เพื่อให้สามารถปรับเปลี่ยนภูมิประเทศได้อย่างนุ่มนวลมากขึ้น

คล้ายกับเครื่องมือ Draw เครื่องมือ Sculpt ทำงานในโหมดคู่ โดยการกด Ctrl หรือ ⌘ จะเปิดโหมด "ลบ" แทนที่จะเป็นโหมด "เพิ่ม" เริ่มต้น นอกจากนี้ การกด Shift จะเปิดใช้งานเครื่องมือ Smooth ชั่วคราว

เรียบ

The Smooth tool ทำให้ขอบที่ชัดเจนในภูมิประเทศเรียบขึ้นโดยใช้แปรง เครื่องมือนี้สามารถใช้ในโหมดสแตนด์อโลน หรือคุณสามารถเปิดใช้งานโดยการกด Shift ขณะใช้เครื่องมือ Draw หรือ Sculpt

ทำให้เรียบ

The Flatten tool ทำให้ภูมิประเทศเรียบไปยังระดับที่สม่ำเสมอทั่วระนาบที่มองเห็นได้ โดยค่าเริ่มต้น เครื่องมือนี้จะลดระดับภูมิประเทศที่อยู่เหนือระนาบ และ ยกภูมิประเทศที่อยู่ต่ำกว่าขึ้นไปยังระนาบ แต่คุณสามารถเลือกที่จะลด หรือ ยกขึ้นได้ผ่านตัวเลือก Flatten Mode ของเครื่องมือ

ทาสี

The Paint tool โดยใช้แปรง ทาสี วัสดุภูมิประเทศลงบนวัสดุที่มีอยู่หรือ แทนที่ วัสดุหนึ่งด้วยวัสดุอีกชนิดหนึ่ง

©2026 Roblox Corporation. Roblox, โลโก้ Roblox และ Powering Imagination เป็นส่วนหนึ่งของเครื่องหมายการค้าที่จดทะเบียน และไม่ได้จดทะเบียนของเราในสหรัฐฯ และประเทศอื่นๆ