Code Monkey home page Code Monkey logo

Comments (1)

ross-g avatar ross-g commented on June 15, 2024

Thanks for the request! While it's a great suggestion I'm afraid it's just not quite that simple ...

  • alpha channel of textures is not always used for transparency, it's sometimes used for mask or occlusion data
  • many textures in PDX games were incorrectly exported with alpha channels (ie the texture channel is unused in the shader)

So while I can test if a texture has an alpha channel, there's no way for me to know if connecting that to shader transparency is correct or not unless I also checked which game shader a mesh is using and then parsed that shader code to see how and if the channel is being used.

For now it's intentional that the alpha channel isn't hooked up, because I'd rather leave that as an easy step for the user to complete instead of doing the wrong thing on import and make the user correct my mistake.

from io_pdx_mesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.