Hello all,
My work environment has recently been updated from panda 1.5 to 1.7, and i started getting the following error message (or rather, warning) at each and every frame rendered by panda:
“Tried to load Cg shader, but no Cg support is enabled.”
(and indeed, the per-pixel lighting is disabled)
A quick Google search pinpoints this error message to the file at panda3d.org/reference/cxx/sh … source.php (line 01653)
where it would seem that the library was compiled without the flag HAVE_CG set to 1 (although i’m pretty sure that our video cards support it, being mostly gtx260 and 470 and anyway, it worked on 1.5 before…)
However, i’m not the one who compiled/installed it, so i really have no idea why the flag was left out;
so my question is, is there any way to use Cg shaders anyway, or do we really have to recompile? also, is the HAVE_CG flag set by default in config.pp or it has to be a manual edit? Or maybe it’s a prolem with the card’s drivers?
Thanks!