I am writing a Toon Cg shader for Panda.
So, I need to get Texture Object directly from Actor Object to make the process be more gerneral.
However,
I found that “getTexture” and “hasTexture” function didn’t work at all.
But, the Actor.ls() told me that there is a TextureAttrib with GeomNode in the bottom level. I have tried to get it from the bottom level GeomObject too but it still didn’t work.
Any Idea?