Skip to content

Commit 3148206

Browse files
committed
Renamed shaders for consistency
1 parent f711c98 commit 3148206

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/shaders/shaders_depth_rendering.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ int main(void)
5858
RenderTexture2D target = LoadRenderTextureDepthTex(screenWidth, screenHeight);
5959

6060
// Load depth shader and get depth texture shader location
61-
Shader depthShader = LoadShader(0, TextFormat("resources/shaders/glsl%i/depth.fs", GLSL_VERSION));
61+
Shader depthShader = LoadShader(0, TextFormat("resources/shaders/glsl%i/depth_render.fs", GLSL_VERSION));
6262
int depthLoc = GetShaderLocation(depthShader, "depthTexture");
6363
int flipTextureLoc = GetShaderLocation(depthShader, "flipY");
6464
SetShaderValue(depthShader, flipTextureLoc, (int[]){ 1 }, SHADER_UNIFORM_INT); // Flip Y texture

examples/shaders/shaders_depth_writing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int main(void)
6060

6161
// Load depth writting shader
6262
// NOTE: The shader inverts the depth buffer by writing into it by `gl_FragDepth = 1 - gl_FragCoord.z;`
63-
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/write_depth.fs", GLSL_VERSION));
63+
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/depth_write.fs", GLSL_VERSION));
6464
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
6565
//--------------------------------------------------------------------------------------
6666

0 commit comments

Comments
 (0)