Make sure we never pass a negative value to pow, and optimize gamma uniform
This commit is contained in:
parent
a03b2ff48b
commit
a8d1197ea7
4 changed files with 7 additions and 7 deletions
|
|
@ -60,7 +60,7 @@ void FPresentShader::Bind()
|
|||
mShader.SetAttribLocation(0, "PositionInProjection");
|
||||
mShader.SetAttribLocation(1, "UV");
|
||||
InputTexture.Init(mShader, "InputTexture");
|
||||
Gamma.Init(mShader, "Gamma");
|
||||
InvGamma.Init(mShader, "InvGamma");
|
||||
Contrast.Init(mShader, "Contrast");
|
||||
Brightness.Init(mShader, "Brightness");
|
||||
Scale.Init(mShader, "UVScale");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue