merge with parent

This commit is contained in:
Joshua Reisenauer 2016-01-19 13:44:36 -08:00
commit e27e431818

View file

@ -5,7 +5,7 @@ in vec2 fragTexCoord;
out vec4 fragColor;
uniform sampler2D texture0;
uniform vec4 tintColor;
uniform vec4 fragTintColor;
// NOTE: Add here your custom variables
@ -13,7 +13,7 @@ const float PI = 3.1415926535;
void main()
{
float aperture = 178.0f;
float aperture = 178.0;
float apertureHalf = 0.5 * aperture * (PI / 180.0);
float maxFactor = sin(apertureHalf);
@ -36,5 +36,5 @@ void main()
uv = fragTexCoord.xy;
}
fragColor = texture2D(texture0, uv);
fragColor = texture(texture0, uv);
}