Sync of all the shaders from upstream + LoadFontData did not match anymore with C and crashed on MacOS
This commit is contained in:
parent
21d83c60a9
commit
7cd46c491f
82 changed files with 767 additions and 753 deletions
|
|
@ -7,7 +7,7 @@ in vec4 fragColor;
|
|||
// Output fragment color
|
||||
out vec4 finalColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
// NOTE: Add your custom variables here
|
||||
|
||||
#define MAX_SPOTS 3
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ void main()
|
|||
else
|
||||
{
|
||||
if (d < spots[fi].inner) alpha = 0.0;
|
||||
else alpha = (d - spots[fi].inner) / (spots[fi].radius - spots[fi].inner);
|
||||
else alpha = (d - spots[fi].inner)/(spots[fi].radius - spots[fi].inner);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue