Code Monkey home page Code Monkey logo

Comments (3)

jonathanrpace avatar jonathanrpace commented on July 28, 2024

There's a feature coming in a future version of Flash Player you could use to configure all the sampler options per texture.

Context3D.setSamplerStateAt( index:int, wrapMode:String, filter:String, mipFilter:String )

There was a beta of the AIR 3.6 SDK with a preview of this (and other) features. But the link I used to get it no longer works . . .

from glsl2agal.

Georg123 avatar Georg123 commented on July 28, 2024

We've solved this problem by patching the compiled byte code. Can't post the method because of copyright issues but it's less than 100 lines long. For a description of the AGAL opcodes see
http://help.adobe.com/en_US/as3/dev/WSd6a006f2eb1dc31e-310b95831324724ec56-8000.html

But good to know that the next flash player will have the setSamplerStateAt method.

from glsl2agal.

daoshengmu avatar daoshengmu commented on July 28, 2024

How can I handle the ATF textures? I think I need to use "tex ft0.xyzw, v0.xyyy, fs0 <2d,linear, wrap, miplinear,dxt5>" in agal. However, glsl2agal seems not yet support atf

from glsl2agal.

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.