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