How could I apply linear filters on textures from X files?
Hi,
How could I apply linear filters on textures from X files?
Where I should add the code lines:
SetSamplerState(0,D3DSAMP_MINFILTER,D3DTEXF_LINEAR);
SetSamplerState(0,D3DSAMP_MAGFILTER,D3DTEXF_LINEAR);
to render scene correctly (with filters)? I added this lines and nothing happened (no texture filter was showed).
Thanks.
Anywhere, as long as it doesn''t get overwritten by another SetSamplerState() call or Reset() call, you don''t have to call it again. You should write your program to be able to switch between the filters, so you can actually see the difference during execution.
.lick
.lick
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement