Comments (9)
I also have this problems.
from 3d-game-shaders-for-beginners.
I also have this problems. i'm use intel macbookpro
Go to buy a PC, and forget this issue.
from 3d-game-shaders-for-beginners.
Amazing suggestions, very helpful.
from 3d-game-shaders-for-beginners.
I'm seeing the same warnings when I try to run (on macOs Catalina) and also seeing dark shapes in the render window, and to be fair I don't know if they're related.
Wondering if either of you have any other thoughts or found any workarounds. Changing the path of model-cache-dir
in the Config.prc
didn't seem to make a difference for me. Also, the default model-cache-dir
setting works fine for my python Panda3D programs.
^^ update: I didn't notice that there was a local .prc
file at /demonstration/panda3d-prc-file.prc
. Once I edited the value of model-cache-dir
there I stopped seeing the :util(error): Unable to make directory /panda3d, caching disabled.
error.
note: this did not fix the shader warnings, which appear similar to some of those discussed here https://discourse.panda3d.org/t/cant-get-simple-glsl-shaders-example-working/25548/3. although the fixes on that thread haven't worked out for me yet.
:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-0.frag produced the following warnings:
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Output of vertex shader 'vertexColor' not read by fragment shader
WARNING: Output of vertex shader 'diffuseCoord' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.
:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-1.frag produced the following warnings:
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Output of vertex shader 'vertexColor' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.
:display:gsg:glgsg(warning): Shader shaders/fragment/geometry-buffer-2.frag produced the following warnings:
WARNING: Output of vertex shader 'normalCoord' not read by fragment shader
WARNING: Output of vertex shader 'vertexNormal' not read by fragment shader
WARNING: Output of vertex shader 'binormal' not read by fragment shader
WARNING: Output of vertex shader 'tangent' not read by fragment shader
WARNING: Output of vertex shader 'vertexInShadowSpaces' not read by fragment shader
WARNING: Could not find fragment shader output 'p3d_FragData' to match FragDataBinding request.
^^ 2nd update: I now think that the issue we're both seeing is actually this, we just weren't articulating it well and got thrown off by the warnings. the fix merged for that issue also hasn't worked out for me, though.
from 3d-game-shaders-for-beginners.
The error message is just telling you that the cache directory could not be created, try setting the full path of model-cache-dir
to a desired writable directory in Config.prc. However, it should not affect the output (and neither should the warnings).
from 3d-game-shaders-for-beginners.
Unfortunately, it does affect the output. The project loads but I can only see a dark outline of the scene I assume because the shaders are not working.
from 3d-game-shaders-for-beginners.
this is maybe a bug about M1 MacBook Pro?
in order to get some debug information, I add:
notify-level warning
notify-level-glgsg spam
default-directnotify-level warning
notify-output mygame-log.txt
and the log file is in the attach:
mygame-log.txt
.
from 3d-game-shaders-for-beginners.
I also have this problems. i'm use intel macbookpro
from 3d-game-shaders-for-beginners.
Got this too
from 3d-game-shaders-for-beginners.
Related Issues (20)
- Could I get the project file of the model? Like a blender project. HOT 2
- Shader version 150 not supported on MacOS HOT 6
- Need help in how to build on Windows HOT 3
- crash when load_font, windows 10, vs2017, debug x64 HOT 1
- sRGB Formula incorrect
- Windows, can't load shaders! HOT 4
- can't find p3pystub HOT 2
- Get Linkers for panda HOT 4
- Can't open the final package HOT 1
- Demo crash on M1 macbook HOT 5
- Crash on Manjaro KDE HOT 1
- compile error on win10 HOT 1
- osx compile error HOT 3
- Windows10 - Run Demo with 100% GPU usage?
- How to run on Windows visual studio 2019 since panda3d isnt supported on mingw g++ HOT 2
- How to configure builds for Windows users HOT 5
- Demo run crash, Intel iris, Ubuntu 20.04
- .
- No textures when running on MacOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-game-shaders-for-beginners.