Results 1 to 4 of 4

Thread: Render question

  1. #1
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Render question

    When I use multitexturing, I have 2 textures:

    Texture 1: 256x256
    Texture 2: 32x32

    When I com close to the polygon, the 1st texture is filterd using this code
    Code:
    SetSamplerState( 0, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR );
    But the second texture is not! It shows large pixels that are ugly... Im also trying to use

    Code:
    SetSamplerState( 1, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR );
    but it doen's seem to work...

    Any sugestions ?
    NecroSOFT - End of line -

  2. #2
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Render question

    I fixed it... need to be called every frame...
    NecroSOFT - End of line -

  3. #3

    Render question

    Just to note: It doesn't need to be called every frame, probably you are changing it somewhere in rendering loop by youself.
    There are only 10 types of people in this world; those who understand binary and those who don't.

  4. #4
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Render question

    I do not use SetSamplerState in my code, but its working for now
    NecroSOFT - End of line -

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •