分类shader

This commit is contained in:
2020-05-28 23:19:05 +08:00
parent d841ded4e9
commit e90404ab35
9 changed files with 227 additions and 270 deletions

View File

@@ -1,5 +1,7 @@
// ACES tone map
// see: https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve/
// - ACES Filmic Tone Mapping Curve
// https://web.archive.org/web/20191027010704/https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve/
vec3 ToneMapping(vec3 color)
{
const float A = 2.51;