-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Windows, can't load shaders! #23
Comments
If you use absolute paths, you should use UNIX-style paths (which is what Panda3D expects), in the form of |
I have same problem. C:\3d-game-shaders-for-beginners\demonstration>main.exe |
Obviously you can move images, shaders, fonts, etc to the x64/Release directory and it'll all work without changing the CWD, but I'm also pigheaded in that it should work properly if you set CWD to point to demonstration folder. For some reason Panda's Shader::loadShader assumes the shaders are located next to the executable, despite the rest of the resource loaders not having the same assumptions for the rest of the resources. |
Hi,@lettier , after builing the project ,i ran the demo, i could hear the water and wheel sounds, but i could't load the shaders as above images show , don't know why... i just try both absolute and relative Paths ,still could’t load...
Do you or anybody ever meet similar problems ,or successfuly ran the demo on Windows ? I used the latest Panda SDK building the Demo.
Really good demos,but there are indeed some issues when building it on Windows 。。。
The text was updated successfully, but these errors were encountered: