What happened to my normal maps?

I can think of two things

  • There’s an issue with the new Cg linking changes, or
  • We got a core profile instead of a compat profile OpenGL context
1 Like

I downgraded to 1.10.7 and the sample worked again, so I’m more inclined into thinking it’s more to do with 1.10.8 than the mac’s drivers.

1 Like

It seems it’s the former, after testing it seems that, unless you build a universal package or explicitly specify the architecture, makepanda.py disables NVIDIACG. I created an issue about it : macOS: Non-universal builds no longer have Cg enabled · Issue #1119 · panda3d/panda3d · GitHub

I rebuilt Panda with an explicit arch and the sample program works fine now.

A workaround is to install Panda3D 1.10.8 as SDK instead of using pip as I believe the SDK is build as an universal package.

2 Likes

In that case, there is something wrong specifically with your 1.10.8, because on mine it works properly.

are you on a Mac?

Windows. Works on Windows 7 and Windows 10.

yeah, it works perfectly on windows, but with Macs, there is a problem with Cg shaders.

Oh.

@azizalbastaki There are new builds that should have this issue fixed available here:
https://buildbot.panda3d.org/downloads/ce437629c2c78c9aea6bd7a456e09770407d9929/

If you installed using pip, you should be able to upgrade using:

pip install -U --extra-index-url https://archive.panda3d.org/branches/release/1.10.x 'panda3d>=1.10.9.dev110'
2 Likes

will install this, thanks a lot :smiley:

[EDIT]

Installed, and our beloved normal maps are back!

Anyways, thanks a lot @rdb @eldee and everyone else that fixed this.

3 Likes