Color grading stuff - test (hardcoded)

This commit is contained in:
Emmanuel BENOîT 2017-10-05 11:47:33 +02:00
parent 942a4fea21
commit af2e8eb05c
3 changed files with 12 additions and 6 deletions
shaders/lib

View file

@ -19,7 +19,7 @@ float M_Hash(
float M_Luminosity(
in vec3 color )
{
return dot( color , vec3( .3 , .6 , .1 ) );
return dot( color , vec3( .299 , .587 , .114 ) );
}
vec3 M_NormalizeColor(