Lookup tables using Textures

Started by
19 comments, last by nara 15 years ago
Hi Rohat,

Thanks for the suggestion.

Used Scale 4096 - no use.
Conversion algorithm - simply assigned x(0-1280) & y (0-1024)both divided by 2048, but still no use.
As far as the declaration of the sampler, I had done that. here is what it looks like

Texture View1Tex;
sampler View1TexSampler = sampler_state
{
Texture = (View1Tex);
AddressU = CLAMP;
AddressV = CLAMP;
MinFilter = LINEAR;
MagFilter = LINEAR;
MipFilter = LINEAR;
};

Texture View2Tex;
sampler View2TexSampler = sampler_state
{
Texture = (View2Tex);
AddressU = CLAMP;
AddressV = CLAMP;
MinFilter = LINEAR;
MagFilter = LINEAR;
MipFilter = LINEAR;
};


Texture View3Tex;
sampler View3TexSampler = sampler_state
{
Texture = (View3Tex);
AddressU = CLAMP;
AddressV = CLAMP;
MinFilter = LINEAR;
MagFilter = LINEAR;
MipFilter = LINEAR;
};

Not sure where the problem is still.

Nara

This topic is closed to new replies.

Advertisement