mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
eroneous convertsion leftover
This commit is contained in:
parent
7efc7281db
commit
05409537b0
1 changed files with 0 additions and 14 deletions
|
|
@ -51,20 +51,6 @@ uniform float logContrast;
|
||||||
uniform float brightnessValue;
|
uniform float brightnessValue;
|
||||||
uniform float saturationValue;
|
uniform float saturationValue;
|
||||||
uniform float3 colorFilter;
|
uniform float3 colorFilter;
|
||||||
|
|
||||||
vec3 ACESFitted(vec3 x, float w)
|
|
||||||
{
|
|
||||||
x = tMul(ACESInputMat, x);
|
|
||||||
|
|
||||||
// Apply RRT and ODT
|
|
||||||
x = RRTAndODTFit(x, w);
|
|
||||||
|
|
||||||
x = tMul(ACESOutputMat, x);
|
|
||||||
|
|
||||||
// Clamp to [0, 1]
|
|
||||||
return saturate(x);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
float3 Tonemap(float3 x)
|
float3 Tonemap(float3 x)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue