Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

System.AccessViolationException compressing texture, and c# port #272

Description

@vpenades

Hi

I've been having exception issues with NVTT used in monogame when processing textures, After some discussions with monogame maintainers, they expressed desire to remove NVTT in favour of a pure c# implementation.

I did a c# port of the original LibSquish here , and I'm in the process of replacing the NVTT method calls to LibSquish calls.

My questions are these:

In monogame code, they set AlphaMode to PreMultiplied
when the texture format is not Dxt1. What SetAlphaMode does? it tells the library to premultiply the colors with alpha? or it is just to tell the library that the input bitmap has already been alpha-premultiplied?

I've found your repository after porting LibSquish, after reviewing nvidia-texture-tools code, I've found you've improved cluster block compression. Would you agree to let me port your code to c# too? My c# port also uses a MIT license.

let me know about it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions