Skip to content
Permalink
Browse files

- remove screenquadscale.vp

  • Loading branch information...
dpjudas committed Mar 12, 2019
1 parent a26e2cd commit 06200412283939468f88a6926a5f15e3d77a556f
@@ -33,7 +33,7 @@ void FPresentShaderBase::Init(const char * vtx_shader_name, const char * program
FString prolog = Uniforms.CreateDeclaration("Uniforms", PresentUniforms::Desc());

mShader.reset(screen->CreateShaderProgram());
mShader->Compile(IShaderProgram::Vertex, "shaders/glsl/screenquadscale.vp", prolog, 330);
mShader->Compile(IShaderProgram::Vertex, "shaders/glsl/screenquad.vp", prolog, 330);
mShader->Compile(IShaderProgram::Fragment, vtx_shader_name, prolog, 330);
mShader->Link(program_name);
mShader->SetUniformBufferLocation(Uniforms.BindingPoint(), "Uniforms");
@@ -29,5 +29,5 @@ vec4 Dither(vec4 c)

void main()
{
FragColor = Dither(ApplyGamma(texture(InputTexture, TexCoord)));
FragColor = Dither(ApplyGamma(texture(InputTexture, TexCoord * UVScale)));
}
@@ -23,11 +23,11 @@ void main()
) % 2 == 0;
vec4 inputColor;
if (isLeftEye) {
inputColor = texture(LeftEyeTexture, TexCoord);
inputColor = texture(LeftEyeTexture, TexCoord * UVScale);
}
else {
// inputColor = vec4(0, 1, 0, 1);
inputColor = texture(RightEyeTexture, TexCoord);
inputColor = texture(RightEyeTexture, TexCoord * UVScale);
}
FragColor = ApplyGamma(inputColor);
}
@@ -21,11 +21,11 @@ void main()
) % 2 == 0;
vec4 inputColor;
if (isLeftEye) {
inputColor = texture(LeftEyeTexture, TexCoord);
inputColor = texture(LeftEyeTexture, TexCoord * UVScale);
}
else {
// inputColor = vec4(0, 1, 0, 1);
inputColor = texture(RightEyeTexture, TexCoord);
inputColor = texture(RightEyeTexture, TexCoord * UVScale);
}
FragColor = ApplyGamma(inputColor);
}
@@ -21,11 +21,11 @@ void main()
) % 2 == 0;
vec4 inputColor;
if (isLeftEye) {
inputColor = texture(LeftEyeTexture, TexCoord);
inputColor = texture(LeftEyeTexture, TexCoord * UVScale);
}
else {
// inputColor = vec4(0, 1, 0, 1);
inputColor = texture(RightEyeTexture, TexCoord);
inputColor = texture(RightEyeTexture, TexCoord * UVScale);
}
FragColor = ApplyGamma(inputColor);
}

This file was deleted.

Oops, something went wrong.

0 comments on commit 0620041

Please sign in to comment.
You can’t perform that action at this time.