Merge pull request #103853 from aaronfranke/gltf-fix-light-color-space

GLTF: Fix wrong color space for GLTFLight on export
This commit is contained in:
Rémi Verschelde 2025-03-28 17:30:09 +01:00
commit ddae331c79
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 26 additions and 25 deletions

View file

@ -64,7 +64,7 @@
[b]Note:[/b] Meshes' global illumination mode will also affect the global illumination rendering. See [member GeometryInstance3D.gi_mode].
</member>
<member name="light_color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)">
The light's color. An [i]overbright[/i] color can be used to achieve a result equivalent to increasing the light's [member light_energy].
The light's color in the nonlinear sRGB color space. An [i]overbright[/i] color can be used to achieve a result equivalent to increasing the light's [member light_energy].
</member>
<member name="light_cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask" default="4294967295">
The light will affect objects in the selected layers.