w23 / xash3d-fwgs

Vulkan Ray Tracing fork of Xash3D FWGS engine. Intended to be merged into master at some point in the future.
161 stars 16 forks source link

я слышал в этом сезоне модно рендерить в ACEScg #262

Open w23 opened 2 years ago

w23 commented 2 years ago

Надо из sRGB linear (текстуры, цвета) конвертить в ACEScg, в котором вести все расчёты освещения. А уже затем назад переводить в sRGB в тонмаппере.

Почему:

0x4E69676874466F78 commented 2 years ago

Тут ещё такое попалось: https://github.com/google/filament/blob/4846ccd86d1fdb6de136903dca0e331a3adb4bd1/filament/src/ColorSpace.h#L252-L273

ACEScct (ACES color correction space with toe): A color space definition that is slightly larger than the ITU Rec.2020 color space and logarithmically encoded for improved use within color correctors and grading tools that resembles the toe behavior of Cineon files.

А, оно уже есть в первом примере.

0x4E69676874466F78 commented 5 months ago

https://chrisbrejon.com/cg-cinematography/chapter-1-5-academy-color-encoding-system-aces/