Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/shaders/resources/shaders/glsl100/pbr.fs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ vec3 ComputePBR()
vec3 H = normalize(V + L); // Compute halfway bisecting vector
float dist = length(lights[i].position - fragPosition); // Compute distance to light
float attenuation = 1.0/(dist*dist*0.23); // Compute attenuation
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy comming in
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy coming in

// Cook-Torrance BRDF distribution function
float nDotV = max(dot(N,V), 0.0000001);
Expand Down
2 changes: 1 addition & 1 deletion examples/shaders/resources/shaders/glsl120/pbr.fs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ vec3 ComputePBR()
vec3 H = normalize(V + L); // Compute halfway bisecting vector
float dist = length(lights[i].position - fragPosition); // Compute distance to light
float attenuation = 1.0/(dist*dist*0.23); // Compute attenuation
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy comming in
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy coming in

// Cook-Torrance BRDF distribution function
float nDotV = max(dot(N,V), 0.0000001);
Expand Down
2 changes: 1 addition & 1 deletion examples/shaders/resources/shaders/glsl330/pbr.fs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ vec3 ComputePBR()
vec3 H = normalize(V + L); // Compute halfway bisecting vector
float dist = length(lights[i].position - fragPosition); // Compute distance to light
float attenuation = 1.0/(dist*dist*0.23); // Compute attenuation
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy comming in
vec3 radiance = lights[i].color.rgb*lights[i].intensity*attenuation; // Compute input radiance, light energy coming in

// Cook-Torrance BRDF distribution function
float nDotV = max(dot(N,V), 0.0000001);
Expand Down
2 changes: 1 addition & 1 deletion examples/shaders/shaders_texture_waves.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main(void)

InitWindow(screenWidth, screenHeight, "raylib [shaders] example - texture waves");

// Load texture texture to apply shaders
// Load texture to apply shaders
Texture2D texture = LoadTexture("resources/space.png");

// Load shader and setup location points and values
Expand Down
2 changes: 1 addition & 1 deletion src/rlgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ void rlVertex3f(float x, float y, float z)
(RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].vertexCount%2 == 0))
{
// Reached the maximum number of vertices for RL_LINES drawing
// Launch a draw call but keep current state for next vertices comming
// Launch a draw call but keep current state for next vertices coming
// NOTE: Adding +1 vertex to the check for some safety
rlCheckRenderBatchLimit(2 + 1);
}
Expand Down
2 changes: 1 addition & 1 deletion tools/rlparser/rlparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@ static char *TextReplace(char *text, const char *replace, const char *by)
char *insertPoint; // Next insert point
char *temp; // Temp pointer
int replaceLen; // Replace string length of (the string to remove)
int byLen; // Replacement length (the string to replace replace by)
int byLen; // Replacement length (the string to replace by)
int lastReplacePos; // Distance between replace and end of last replace
int count; // Number of replacements

Expand Down