Giter Site home page Giter Site logo

Comments (9)

Js11252001 avatar Js11252001 commented on May 28, 2024 3

I also have this problems.

from 3d-game-shaders-for-beginners.

ngn999 avatar ngn999 commented on May 28, 2024 2

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.

samiede avatar samiede commented on May 28, 2024 2

Amazing suggestions, very helpful.

from 3d-game-shaders-for-beginners.

DevinFrenze avatar DevinFrenze commented on May 28, 2024 1

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.

Screen Shot 2021-05-10 at 10 33 29 AM

from 3d-game-shaders-for-beginners.

rdb avatar rdb commented on May 28, 2024

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.

eoinroe avatar eoinroe commented on May 28, 2024

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.

ngn999 avatar ngn999 commented on May 28, 2024

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.

 avatar commented on May 28, 2024

I also have this problems. i'm use intel macbookpro

from 3d-game-shaders-for-beginners.

victor-kironde avatar victor-kironde commented on May 28, 2024

Got this too

from 3d-game-shaders-for-beginners.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.