Lighting

Lighting : Instance

Overview

๊ฒŒ์ž„ ๋‚ด ์ „์ฒด ์กฐ๋ช… ํšจ๊ณผ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ์‹œ์Šคํ…œ์œผ๋กœ, ์กฐ๋ช… ์„ค์ •์„ ํ†ตํ•ด ๊ฒŒ์ž„์˜ ๋ถ„์œ„๊ธฐ๋ฅผ ์ •๊ตํ•˜๊ฒŒ ์—ฐ์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Atmosphere์™€ ํ•จ๊ป˜ ์‚ฌ์šฉํ•˜๋ฉด ์•ˆ๊ฐœ, ์ƒ‰์ƒ ์กฐ์ ˆ ๋“ฑ ์‚ฌ์‹ค์ ์ธ ๋Œ€๊ธฐ ํšจ๊ณผ๋ฅผ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Properties

ClockTime

number

๊ฒŒ์ž„ ์„ธ๊ณ„์˜ ํ˜„์žฌ ์‹œ๊ฐ„์„ ์‹œ(hour) ๋‹จ์œ„์˜ ์ˆซ์ž๋กœ ๋‚˜ํƒ€๋‚ด๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

ํ˜„์‹ค ์‹œ๊ฐ„๊ณผ๋Š” ๋ฌด๊ด€ํ•˜๊ฒŒ ๊ฒŒ์ž„ ๋‚ด ๋‚ฎ๊ณผ ๋ฐค์˜ ์—ฐ์ถœ์— ํ™œ์šฉ๋ฉ๋‹ˆ๋‹ค.

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.ClockTime = 18 -- Hour

Ambient

Color3

์‹ค๋‚ด์™€ ๊ฐ™์ด ์™ธ๋ถ€ ๊ด‘์›์ด ๋‹ฟ์ง€ ์•Š๋Š” ๊ณต๊ฐ„์— ์ ์šฉ๋˜๋Š” ๋ฐฐ๊ฒฝ ์กฐ๋ช… ์ƒ‰์ƒ์ž…๋‹ˆ๋‹ค.

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.Ambient = Color3.fromRGB(255, 0, 0)

Brightness

number

๊ฒŒ์ž„ ๊ณต๊ฐ„ ์ „์ฒด์— ์ ์šฉ๋˜๋Š” ๋ฐ๊ธฐ๋ฅผ ๊ฒฐ์ •ํ•˜๋Š” ์†์„ฑ์ž…๋‹ˆ๋‹ค.

Code Samples

local Lighting = game:GetService("Lighting")

Lighting.Brightness = 50

ShadowDetailLevel

Enum.ShadowDetailLevel

Controls the global quality level of dynamic shadows in the scene.

  • Original: Highest fidelity shadows.

  • Medium: Balanced quality/performance.

  • Low: Performance-oriented, lowest quality.

Code Samples

Methods

Events

See also

์กฐ๋ช…

Last updated