:display:gsg:glgsg(warning): Project runs but shaders do not load correctly
After building the project and copying the binary to /Developer/Panda3D/bin as suggested in this post - https://discourse.panda3d.org/t/panda3d-c-not-working-on-os-x-10-11/15456/2, I get the following errors:
: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: Could not find vertex shader attribute 'vertex' to match BindAttributeLocation request. 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: Could not find vertex shader attribute 'vertex' to match BindAttributeLocation request. 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.
These are different warnings from the shader compile errors reported on macOS mojave 10.14.5 and I was wondering how to get round this?
Source: lettier/3d-game-shaders-for-beginners