merge with parent
This commit is contained in:
parent
e624973200
commit
e27e431818
1 changed files with 14116 additions and 6256 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Reference in a new issue