2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Review resources/licensing usage

This commit is contained in:
2023-10-05 19:59:31 +01:00
parent dc20bc46ab
commit 3bbfcfc0a7
15 changed files with 102 additions and 32865 deletions

View File

@ -43,8 +43,8 @@ public class CustomUniform
camera.FovY = 45.0f;
camera.Projection = CameraProjection.CAMERA_PERSPECTIVE;
Model model = LoadModel("resources/models/barracks.obj");
Texture2D texture = LoadTexture("resources/models/barracks_diffuse.png");
Model model = LoadModel("resources/models/obj/barracks.obj");
Texture2D texture = LoadTexture("resources/models/obj/barracks_diffuse.png");
// Set model diffuse texture
Raylib.SetMaterialTexture(ref model, 0, MaterialMapIndex.MATERIAL_MAP_ALBEDO, ref texture);

View File

@ -43,8 +43,8 @@ public class ModelShader
camera.FovY = 45.0f;
camera.Projection = CameraProjection.CAMERA_PERSPECTIVE;
Model model = LoadModel("resources/models/watermill.obj");
Texture2D texture = LoadTexture("resources/models/watermill_diffuse.png");
Model model = LoadModel("resources/models/obj/watermill.obj");
Texture2D texture = LoadTexture("resources/models/obj/watermill_diffuse.png");
Shader shader = LoadShader("resources/shaders/glsl330/base.vs",
"resources/shaders/glsl330/grayscale.fs");

View File

@ -78,8 +78,8 @@ public class PostProcessing
camera.FovY = 45.0f;
camera.Projection = CameraProjection.CAMERA_PERSPECTIVE;
Model model = LoadModel("resources/models/church.obj");
Texture2D texture = LoadTexture("resources/models/church_diffuse.png");
Model model = LoadModel("resources/models/obj/church.obj");
Texture2D texture = LoadTexture("resources/models/obj/church_diffuse.png");
// Set model diffuse texture
Raylib.SetMaterialTexture(ref model, 0, MaterialMapIndex.MATERIAL_MAP_ALBEDO, ref texture);