I tried it but somehow it still doesn't work...
Do I have to mind anything special? like special texture coordinates when using tex3D?
EDIT: I'm using it like this:
texture tLUT_bmap;
sampler3D smpLUT = sampler_state
{
Texture = <tLUT_bmap>;
Filter = Linear;
AddressU = Clamp;
AddressV = Clamp;
AddressW = Clamp;
};
[...]
Color.rgb = tex3D(smpLUT, Color.rgb).rgb;
If I use the screenspace coordinates as texcoords and change the z-coordinate it always displays the first slice.
Edit: maybe a BMAP * can't handle volume textures?