Results 1 to 3 of 3

Thread: Disabling Antialiasing in ZenGL

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    When you load texture(tex_LoadFromFile or tex_LoadFromMemory) you set parameter TEX_DEFAULT_2D(last argument in function). You can change it to this one(and define as your new constant):
    Code:
    TEX_DEFAULT_2D xor TEX_FILTER_LINEAR or TEX_FILTER_NEAREST
    or build from scratch new one:
    Code:
    TEX_CLAMP or TEX_FILTER_NEAREST or TEX_CONVERT_TO_POT or TEX_CALCULATE_ALPHA
    As you can see, main bits are TEX_FILTER_*

  2. #2

    Thumbs up Antialias control

    thanks for your help, Andru.
    and thanks a lot for the great work you're doing.

    Quote Originally Posted by Andru View Post
    When you load texture(tex_LoadFromFile or tex_LoadFromMemory) you set parameter TEX_DEFAULT_2D(last argument in function). You can change it to this one(and define as your new constant):
    Code:
    TEX_DEFAULT_2D xor TEX_FILTER_LINEAR or TEX_FILTER_NEAREST
    or build from scratch new one:
    Code:
    TEX_CLAMP or TEX_FILTER_NEAREST or TEX_CONVERT_TO_POT or TEX_CALCULATE_ALPHA
    As you can see, main bits are TEX_FILTER_*

Tags for this Thread

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
  •