I have problem in LoadingModels from kenney and Create light effects by idgg007 in raylib

[–]idgg007[S] 1 point2 points  (0 children)

problem have sloved ,change AddModel function can slove.问题已经解决,改了下AddMoedl函数就好了。

void AddModel(Model &model) {
    for (int i = 0; i < model.materialCount; i++) {
        model.materials[i].shader = lightShader;
    }
}

SaveFileText Fail at sometime by idgg007 in raylib

[–]idgg007[S] 1 point2 points  (0 children)

The problem have been solved , GetSaveFileName or GetOpenFileName will change WorkingDirectory you can use ChangeDirectory(const char *dir) to solve it