lettier / 3d-game-shaders-for-beginners

🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
https://lettier.github.io/3d-game-shaders-for-beginners/index.html
17.35k stars 1.35k forks source link

No textures when running on MacOS #41

Open dmitrykolesnikovich opened 1 year ago

dmitrykolesnikovich commented 1 year ago

Screenshot 2023-04-05 at 00 31 31

dmitrykolesnikovich commented 1 year ago
$ ./3d-game-shaders-for-beginners
Warning: unable to auto-locate config files in directory named by "<auto>etc".
:audio: NullAudioManager
:util: Reading /Users/dmitrykolesnikovich/workspace/3d-game-shaders-for-beginners/demonstration/panda3d-prc-file.prc
:util(error): Unable to make directory /panda3d, caching disabled.
Known pipe types:
  CocoaGraphicsPipe
(all display modules loaded.)
: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.
NPatch commented 1 year ago

Not a Mac user or entirely sure, but have you made sure you are linking against the correct set of panda3D libraries?