Learning Cg shader

Hello all…

I want to learn Cg shader language but I don’t know where to start from

I begin by reading the first chapter of that book
http.developer.nvidia.com/CgTuto … ter01.html

and I understand most of it but turning on to chapter 2, I realized that non of these codes work with panda3d

There was some tutorials about shader were available for download and I downloaded and start to study them…but most of it are primitive and will not achieve lots of work…can someone help me with this?

Thanks in advance

Did you already read the manual section about shaders?

There are also hidden, unlisted, and unfinished shader tutorials on panda3d.org/manual/index.ph … ial_Part_2 just replace the number 3 with 3, 4 and so on.

I know these tutorials but these are quite primitive…for example how did programmers do water effect with shader, how to do a reflection effect and so on…I mean I want to study also the more complex codes of Cg

panda3d.org/manual/index.ph … r_Tutorial

There,in the shaders seccion, is a link to the Nvidia tutorial. :slight_smile: