How could I apply linear filters on textures from X files?

Started by
0 comments, last by adriano_usp 20 years, 9 months ago
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.
Advertisement
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

This topic is closed to new replies.

Advertisement