---
title: "Lighting Helpers - s&box library"
description: "Lighting Library that adds a few helpful lighting related components."
canonical: "https://sbox.watch/zh-cn/libraries/fwotsoft/lightinghelpers/"
generated_at: "2026-11-27T16:30:25.282Z"
---

# Lighting Helpers

Lighting Library that adds a few helpful lighting related components.

- 类型: 库
- 标识符: fwotsoft.lightinghelpers
- 创作者: RotSoft
- 规范地址: https://sbox.watch/zh-cn/libraries/fwotsoft/lightinghelpers/
- Markdown: https://sbox.watch/zh-cn/libraries/fwotsoft/lightinghelpers/index.md
- sbox.game: https://sbox.game/fwotsoft/lightinghelpers/
- 生成时间: 2026-11-27T16:30:25.282Z

## 统计

- 24小时热度: +0
- Terry 评分: 27%
- 收藏: 2
- 好评: 1
- 差评: 0
- 更新时间: 2026年8月27日
- 创建时间: 2026年8月27日
- 大小: 25.9 KB
- 文件: 14
- 标签: art, brightness, camera, kelvin, light, lighting, rendering, rotsoft

## 描述

Rotsoft Lighting
The library includes some useful lighting components and widgets. Currently adds a temperature widget and a component that lets you control brightness and temp of a light in Kelvin.

Usage
Add the LightTemperature component (namespace RotSoft.Lighting) to any GameObject with a Light derived Component. Pick from a list of presets or drag the Kelvin slider (1500-15000 K) to set the light's color. Brightness sets the Range property of the light color.

The color is applied once on add and whenever a value changes, so the light's color stays manually editable afterward.

There are also two prefabs added to the Light menu of the editor.
