Watch
2
0
Fork
You've already forked raylib-cs
0

Sync of all the shaders from upstream + LoadFontData did not match anymore with C and crashed on MacOS

This commit is contained in:
Meatcorps 2026-05-24 12:19:24 +02:00
commit 7cd46c491f
82 changed files with 767 additions and 753 deletions

View file

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values should be passed from code
const float renderWidth = 800;
@ -41,7 +41,7 @@ void main()
}
tc += center;
vec4 color = texture2D(texture0, tc/texSize)*colDiffuse*fragColor;;
vec4 color = texture(texture0, tc/texSize)*colDiffuse*fragColor;;
finalColor = vec4(color.rgb, 1.0);;
}