Appearance
可以使 0.8 ~ 1.0 更加平缓的过度,增加显示的细节。
float3 ACESFilm(float3 x) { float a = 2.51f; float b = 0.03f; float c = 2.43f; float d = 0.59f; float e = 0.14f; return saturate((x*(a*x+b))/(x*(c*x+d)+e)); }
可以把完全线性转换成有一点点曲线。
float smooth(float x) { return x * (1.7 - 0.7x); }
原文地址