You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Load shader from files and bind default locations NOTE: If shader filename is NULL, using default vertex/fragment shaders
Parameters
Parameter
Default Value
Note
vsFileName
String()
fsFileName
String()
Return value
Condition
Return Value
(always)
map
Notes
Example
// Load a custom fragment shader (use null for default vertex shader)shader=raylib.LoadShader(null, "shaders/glow.glsl")
// ... use shader in draw calls ...raylib.UnloadShadershader