Comments (3)
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.
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.
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)
- Flascc compiler error? (java.lang.NullPointerException) HOT 1
- Swizzling not working like in AGALMiniAssembler HOT 5
- Any plan to reduce register usage? HOT 3
- Instruction node present twice in ir tree HOT 2
- Possible to overwrite existing GLSL functions, end up with invalid AGAL
- Combining multiple non-vec4 constants HOT 2
- Multiple y per register? HOT 1
- Using dot production results in unexpected AGAL code HOT 1
- Code generation problem HOT 1
- Feature request: Support for AGAL MRT HOT 3
- Possible sat optimisation?
- Many matrix operations are translated into illegal AGAL code
- Optimization throws exception
- length, distance, normalize return wrong result for certain vectors.
- Can't compile shader with struct uniform
- conditional branching
- floor() seems to be broken as well
- vertex attribute order be changed
- Is this fork still active?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glsl2agal.