Archived

This topic is now archived and is closed to further replies.

LeLe

pixelshader question?

Recommended Posts

LeLe    122
in ps.1.3 texreg2ar t1, t0 what coordiantes will be used to fetch t1. because t0 is a fixed-point register, a and r compoenent is not a float data, is it just use the coodinates as a / 255.0f, r / 255.0f. help please.

Share this post


Link to post
Share on other sites
Osc    122
the four colour channels have values in the range [0..1] in the pixel shader - they will be converted to [0..255] (or theoretically whatever else is appropriate) after the data leaves the shader.

Share this post


Link to post
Share on other sites