From 0311272002cc0d8e0f173485a81a2caf3a66bafc Mon Sep 17 00:00:00 2001 From: Meatcorps Date: Thu, 21 May 2026 19:03:53 +0200 Subject: [PATCH] Updated shader colors, adjusted car model scale, disabled HDR in SkyboxDemo, and fixed camera mode assignment. Removed unused `Capacity` field in FilePathList struct. --- Examples/Core/Camera3dFirstPerson.cs | 2 +- Examples/Models/SkyboxDemo.cs | 2 +- Examples/Shaders/BasicPbr.cs | 4 ++-- Raylib-cs/types/native/FilePathList.cs | 5 ----- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Examples/Core/Camera3dFirstPerson.cs b/Examples/Core/Camera3dFirstPerson.cs index 022cd07..5d91bdb 100644 --- a/Examples/Core/Camera3dFirstPerson.cs +++ b/Examples/Core/Camera3dFirstPerson.cs @@ -113,7 +113,7 @@ public class Camera3dFirstPerson // Update camera computes movement internally depending on the camera mode // Some default standard keyboard/mouse inputs are hardcoded to simplify use // For advance camera controls, it's reecommended to compute camera movement manually - UpdateCamera(ref camera, CameraMode.Custom); + UpdateCamera(ref camera, cameraMode); //---------------------------------------------------------------------------------- // Draw diff --git a/Examples/Models/SkyboxDemo.cs b/Examples/Models/SkyboxDemo.cs index b9f6725..4964af8 100644 --- a/Examples/Models/SkyboxDemo.cs +++ b/Examples/Models/SkyboxDemo.cs @@ -37,7 +37,7 @@ public class SkyboxDemo Mesh cube = GenMeshCube(1.0f, 1.0f, 1.0f); Model skybox = LoadModelFromMesh(cube); - bool useHdr = true; + bool useHdr = false; // Load skybox shader and set required locations // NOTE: Some locations are automatically set at shader loading diff --git a/Examples/Shaders/BasicPbr.cs b/Examples/Shaders/BasicPbr.cs index 94c7bb7..f551bc3 100644 --- a/Examples/Shaders/BasicPbr.cs +++ b/Examples/Shaders/BasicPbr.cs @@ -156,7 +156,7 @@ public class BasicPbr PbrLightType.Point, new Vector3(1.0f, 1.0f, -2.0f), new Vector3(0.0f, 0.0f, 0.0f), - Color.Black, + Color.Blue, 2.0f, shader); @@ -232,7 +232,7 @@ public class BasicPbr var emissiveIntensity = 0.01f; SetShaderValue(shader, emissiveIntensityLoc, &emissiveIntensity, ShaderUniformDataType.Float); - DrawModel(car, Vector3.Zero, 0.005f, Color.White); // Draw car model + DrawModel(car, Vector3.Zero, 0.25f, Color.White); // Draw car model // Draw spheres to show the lights positions for (var i = 0; i < 4; i++) diff --git a/Raylib-cs/types/native/FilePathList.cs b/Raylib-cs/types/native/FilePathList.cs index 206b9a2..aec5c14 100644 --- a/Raylib-cs/types/native/FilePathList.cs +++ b/Raylib-cs/types/native/FilePathList.cs @@ -9,11 +9,6 @@ namespace Raylib_cs; [StructLayout(LayoutKind.Sequential)] public unsafe struct FilePathList { - /// - /// Filepaths max entries - /// - public uint Capacity; - /// /// Filepaths entries count ///