Can you write values outside of the range of 0.0-1.0 to a render target? I was going to use a pixel shader to compute some position information and store it in a texture. However, most of the data falls outside of the normal color range and gets clamped.
You can write whatever range value you want out of a pixel shader, whether it be floating point or integer. What happens to that value depends on the format of the render target you use. For instance, UNORM formats like R8G8B8A8_UNORM will clamp the value to [0,1] and then store that value in an integer representation. SNORM will clamp to [-1, 1] and do the same. SINT and UINT will truncate floating point values to integer, and output as either signed or unsigned respectively. FLOAT formats don't do any truncation or clamping, and just store the floating point value in the precision specified by the format. So if you want to store XYZ position, then you probably want to use either R16G16B16A16_FLOAT or R32G32B32A32_FLOAT (depending on how much precision you need for that position).