Watch
2
0
Fork
You've already forked raylib-cs
0

Updated shader colors, adjusted car model scale, disabled HDR in SkyboxDemo, and fixed camera mode assignment. Removed unused Capacity field in FilePathList struct.

This commit is contained in:
Meatcorps 2026-05-21 19:03:53 +02:00
commit 0311272002
4 changed files with 4 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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++)