So, if anyone's interested, I found a solution. This is glsl but can easily be translated to hlsl. Basically, open a random photo in PS, use the color curve to fit your preferences and save the curve out as a .acv file. Open the .acv file in PS, apply it to an empty image (256x1px or 256x256)and save it out as a format…
Hi, Does anyone know how to write a function in hlsl that does what the curve in the attached image does? I want to make that math on a texture in a shader. For example, I'd like to call the curve function like this float4 modifiedTexture = curveFunction(texture); Thanks! :)