REXM: Update examples

This commit is contained in:
Ray
2025-09-13 10:46:14 +02:00
parent 3148206758
commit b8420d4821
5 changed files with 12 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ int main(void)
// Load custom render texture with writable depth texture buffer
RenderTexture2D target = LoadRenderTextureDepthTex(screenWidth, screenHeight);
// Load depth writting shader
// Load depth writing shader
// NOTE: The shader inverts the depth buffer by writing into it by `gl_FragDepth = 1 - gl_FragCoord.z;`
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/depth_write.fs", GLSL_VERSION));
SetTargetFPS(60); // Set our game to run at 60 frames-per-second