PDA

View Full Version : A problem about Cg shader



CGDeveloper
10-31-2006, 11:08 PM
Does anyone notice that the fps of the first few frames are lower when using FS without VS Cg shader in program? Why?

Brolingstanz
11-01-2006, 01:48 PM
I never noticed it.

CGDeveloper
11-01-2006, 05:12 PM
You can just test it by printing out every frame rendering time, not average time. The FS program should have uniform parameters.