14 lines
199 B
Text
14 lines
199 B
Text
|
|
||
|
//!DESC color levels + (CHROMA)
|
||
|
//!HOOK CHROMA
|
||
|
//!BIND HOOKED
|
||
|
|
||
|
const float min = 16.0 / 255.0;
|
||
|
const float max = 255.0 / (240.0 - 16.0);
|
||
|
|
||
|
vec4 hook()
|
||
|
{
|
||
|
return (HOOKED_texOff(0) - min) * max;
|
||
|
}
|
||
|
|