lua
05-28-2005, 12:17 AM
hello, all
suppose i output vertex coordinates (x, y, z) in vertex program to fragment program in cg, and i want each fragment can have an attribute: containg a vector signify this fragment's real current positons' coordinates in world coordinates system . does it work?
suppose i output vertex coordinates (x, y, z) in vertex program to fragment program in cg, and i want each fragment can have an attribute: containg a vector signify this fragment's real current positons' coordinates in world coordinates system . does it work?