Cg Shader Tutorials Panda has the ability to process shaders
written in the Cg shader language. In this tutorial series, you
will learn how to write shaders for Panda in Cg. While there are
panda specific things in this tutorial you should be able to
learn how to write Cg shaders that can be used in other engines.
You should be able to write a simple math program in C. Do not
underestimate this. If you start writing your own shaders
without any prior knowledge about a C like language it is as
hard as starting to write a Panda3D application without knowing
anything about Python. Some resources you might want to look at:
You should have a solid grasp of Panda basics. Read the hello
world tutorial and understand the "Solar System" sample that
comes with the panda distribution. You should also have a good
understanding of how the scene graph works. If you're interested
in writing a shadow mapping shader, it helps to have a solid
understanding of how the depth buffer works. Read the first
chapter from NVIDIA's Cg