A continuously updated collection of DCTLs (DaVinci Color Transform Language) designed to enhance and educate on workflows using ARRI LogC3 and Cineon in DaVinci Resolve. This collection offers a photographic and creative approach to color correction and grading from log digital and film negatives.
Line 137:
AFAIK you can't compare a float3 with a float.
use sth. like this :
DEVICE float3 adjust_display(float3 rgb) { rgb.x = _fmaxf(rgb.x, 0.0f); rgb.y = _fmaxf(rgb.y, 0.0f); rgb.z = _fmaxf(rgb.z, 0.0f);
}