llsRGB2Linear/ja
< LlsRGB2Linear
Jump to navigation
Jump to search
Revision as of 22:36, 7 October 2023 by Misaki Vanilla (talk | contribs) (copy from english(Todo: need translate to japanese))
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
Summary
Function: vector llsRGB2Linear( vector srgb );Returns a vector Transforms a color specified in the sRGB colorspace to the linear RGB colorspace.
• vector | srgb | – | Color in the sRGB color space. |
Specification
Lights in Second Life are specified in LSL as linear red, green blue values in the range (0.0, 1.0). Internally light calculations are performed in the sRGB colorspace.
The sRGB (Standard Red Green Blue) colorspace is defined in IEC 61966-2-1:1999 and was developed as a joint project between Microsoft and HP.
This calculation is known as an Electro-Optical Transfer Function (EOTF).
Caveats
Examples
See Also
Functions
• | llLinear2sRGB | To convert from the Linear colorspace to sRGB. (Inverse EOTF) |