mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Replace the term "color space" with "color encoding". Add additional detail to Color class description. State clearly that Color is expected to use the nonlinear sRGB transfer function.
This commit is contained in:
parent
fcd1cf8d57
commit
46e40969a2
17 changed files with 82 additions and 78 deletions
|
|
@ -30,7 +30,7 @@
|
|||
No hints are added to the uniform declaration.
|
||||
</constant>
|
||||
<constant name="TYPE_COLOR" value="1" enum="TextureType">
|
||||
Adds [code]source_color[/code] as hint to the uniform declaration for proper sRGB to linear conversion.
|
||||
Adds [code]source_color[/code] as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.
|
||||
</constant>
|
||||
<constant name="TYPE_NORMAL_MAP" value="2" enum="TextureType">
|
||||
Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue