   What does the "register" in cg language mean??
  uniform sampler3D volumeTex: register(s0),uniform sampler2D frontDepthTex: register(s1) ,uniform sampler2D backDepthTex: register(s2) ,I've come across something like above...What does it mean??The register() stuff~   
  "Registers" are the actual parts of a CPU that hold values (like RAM, but inside a CPU itself).Inside a GPU's shader processors, there are also a limited number of "registers". The "register stuff" that you posted allows you to say "I want this variable to be stored in this register".This isn't always necessary -- it's just a low-level feature that you can use if you want to.   ;Quote:Original post by Hodgman"Registers" are the actual parts of a CPU that hold values (like RAM, but inside a CPU itself).Inside a GPU's shader processors, there are also a limited number of "registers". The "register stuff" that you posted allows you to say "I want this variable to be stored in this register".This isn't always necessary -- it's just a low-level feature that you can use if you want to.Thank you!I want to use the Displacement Mapping with VTF,can I use this feature to store the Height Map I rendered with FragShader and read the sample from the register in the VertShader!?!?Or is there any better way to do this!?Thank u...I'm a rookie...>_<   