Hi! Help me please to resolve the next problem.
I have source picture in YUV format, saved in ARGB texture. In my effect in first pass I transform it. It is ok.
But if my picture will be resized, it looks very poorly(((((((
So, I think I need apply any filters to my result image. How I can do it?
I try set parameters as
device.SetSamplerState(0, SamplerState.MinFilter, TextureFilter.Linear);
device.SetSamplerState(0, SamplerState.MagFilter, TextureFilter.Linear);
device.SetSamplerState(0, SamplerState.MipFilter, TextureFilter.Linear);
but they effects on source texture and my result image is very very bad.
How I can apply filters only after first pass?
One way was in getting image after first pass, creating sampler in effect as
sampler resultTex2 = sampler_state
Texture = (rT2);
MinFilter = LINEAR;
MagFilter = LINEAR;
MipFilter = LINEAR;
and start second simple pass)
If it is a good way, how I can get image after first pass and put it to sampler?
apply filters by second pass in effect
No replies to this topic