REXM: Updated examples after some renames

This commit is contained in:
Ray
2025-09-08 21:01:59 +02:00
parent c7f8843200
commit ef0dd5f774
21 changed files with 76 additions and 75 deletions

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - deferred render
* raylib [shaders] example - deferred rendering
*
* Example complexity rating: [★★★★] 4/4
*
@@ -67,7 +67,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - deferred render");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - deferred rendering");
Camera camera = { 0 };
camera.position = (Vector3){ 5.0f, 4.0f, 5.0f }; // Camera position

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - view depth
* raylib [shaders] example - depth rendering
*
* Example complexity rating: [★★★☆] 3/4
*
@@ -36,7 +36,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - view depth");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - depth rendering");
// Init camera
Camera camera = { 0 };

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - eratosthenes
* raylib [shaders] example - eratosthenes sieve
*
* Example complexity rating: [★★★☆] 3/4
*
@@ -45,7 +45,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - eratosthenes");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - eratosthenes sieve");
RenderTexture2D target = LoadRenderTexture(screenWidth, screenHeight);

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - hybrid render
* raylib [shaders] example - hybrid rendering
*
* Example complexity rating: [★★★★] 4/4
*
@@ -55,7 +55,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - hybrid render");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - hybrid rendering");
// This Shader calculates pixel depth and color using raymarch
Shader shdrRaymarch = LoadShader(0, TextFormat("resources/shaders/glsl%i/hybrid_raymarch.fs", GLSL_VERSION));

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - lightmap
* raylib [shaders] example - lightmap rendering
*
* Example complexity rating: [★★★☆] 3/4
*
@@ -46,7 +46,7 @@ int main(void)
const int screenHeight = 450;
SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available)
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - lightmap");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - lightmap rendering");
// Define the camera to look into our 3d world
Camera camera = { 0 };

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - normal map
* raylib [shaders] example - normalmap rendering
*
* Example complexity rating: [★★★★] 4/4
*
@@ -39,7 +39,7 @@ int main(void)
const int screenHeight = 450;
SetConfigFlags(FLAG_MSAA_4X_HINT);
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - normal map");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - normalmap rendering");
Camera camera = { 0 };
camera.position = (Vector3){ 0.0f, 2.0f, -4.0f };

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - raymarching
* raylib [shaders] example - raymarching rendering
*
* Example complexity rating: [★★★★] 4/4
*
@@ -35,7 +35,7 @@ int main(void)
const int screenHeight = 450;
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - raymarching");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - raymarching rendering");
Camera camera = { 0 };
camera.position = (Vector3){ 2.5f, 2.5f, 3.0f }; // Camera position

View File

@@ -1,6 +1,6 @@
/*******************************************************************************************
*
* raylib [shaders] example - spotlight
* raylib [shaders] example - spotlight rendering
*
* Example complexity rating: [★★☆☆] 2/4
*
@@ -81,7 +81,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - spotlight");
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - spotlight rendering");
HideCursor();
Texture texRay = LoadTexture("resources/raysan.png");