Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

The_GTA

[REL/OpenSrc] Magic.TXD

Recommended Posts

j7n

If I take a transparent texture with fine lines, such as a wire mesh fence, and generate mip-map for it, the smaller mips are very faint and the fence fades into invisible a short distance from the camera. While driving I don't see the fence until up close, just the frames. The fade and suppression of aliasing are nice. What is the explanation and workarounds for that? I suspect it has to do with gamma and the alpha channel being black.

DXT5 or RGBA don't make a noticeable difference.

 

Edited by j7n

Share this post


Link to post
Share on other sites
guard3

If it has fine lines, I don’t see any reason to use mipmaps, since when you scale that particular image down, detail loss and extra transparency is inevitable

Share this post


Link to post
Share on other sites
j7n

The expectation was for the fence to lose detail and turn into a grey wall (like the roof of Cranberry station) that reveals its structure as I get closer. But I see it doesn't work that way, and lightly opaque areas are not rendered at all.

 

One more question. Are there known issues with replacing a DXT1 texture with a BGRA 888 one (directly upconverted in Manipulate)? They do show up fine and have good color resolution in distance, but I am getting freezes and crashes occasionally since I did that and approach the objects. I only replaced a few and the memory use shouldn't increase much at a given time.
 

Share this post


Link to post
Share on other sites
j7n

I solved the problems by identifying images I had accidentally included with "damaged" mipmaps (they cause freeze and are worse than "zero-sized"), and using the gamma adjustment in Nvidia Texture Tools in Photoshop.

A gamma slider would be a good addition to this program. Perhaps one slider for color and another one for alpha (even if it is not technically correct to have it, it can help making distant objects visible).

Nvidia Texture Tools seems to be only good for images that have a generous bleed of the texture into the invisible area, otherwise the dowsampling mixes in color from the invisible pixels (black or white), and there is no way to mark alpha as premultiplied in the export and it gets applied twice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 2 Users Currently Viewing
    0 Members, 0 Anonymous, 2 Guests

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.