New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shader version 150 not supported on MacOS #17
Comments
You may need to set |
Hi, thanks for the quick reply! This is already in the config file but the issue is still not solved. |
It must not be taking effect. Perhaps it has not been set correctly, or it is set in the wrong location (eg. if you have more than one Panda3D installation or config file), or your version of Panda3D is outdated. |
@rdb Hi, I tried the options in your reply, and indeed nothing more was getting printed. But I'm struggling to understand why the config file is not being read. I looked into the load_prc_file("config.prc"); And I have the following file structure:
where |
Panda3D ships with a file called "Config.prc", and macOS uses a case-insensitive filesystem, so I suspect that it is picking up its own file instead of the one in this folder. Try renaming the one in 3d-game-shaders-for-beginners to "settings.prc", and adjusting the line in main.cxx to match. Alternatively, try changing main.cxx to specify the absolute path to the file. |
@rdb Tried renaming the file and it worked. Thanks for the help ;) |
I can compile and run the demo program on MacOS 10.15.5 Catalina, but it doesn't render anything to the window, and it produces the following log message:
I tried to change the shaders to version 330, but it is not supported either.
Is there any way to get around this?
The text was updated successfully, but these errors were encountered: