Git Product home page Git Product logo

drombeys / smaa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iryoku/smaa

0.0 0.0 0.0 16.47 MB

SMAA is a very efficient GPU-based MLAA implementation (DX9, DX10, DX11 and OpenGL), capable of handling subpixel features seamlessly, and featuring an improved and advanced pattern detection & handling mechanism.

Home Page: http://www.iryoku.com/smaa/

License: Other

C++ 91.21% Python 0.88% C 7.91%

smaa's Introduction

SMAA: Subpixel Morphological Antialiasing

SMAA is a very efficient GPU-based MLAA implementation (DX9, DX10, DX11 and OpenGL), capable of handling subpixel features seamlessly, and featuring an improved and advanced pattern detection & handling mechanism.

The technique focuses on handling each pattern in a very specific way (via look-up-tables), in order to minimize false positives in the pattern detection. Ultimately, this prevents antialiasing features that are not produced by jaggies, like texture details. Furthermore, this conservative morphological approach, together with correct subsample area estimation, allows to accurately combine MLAA with multi/supersampling techniques. Finally, the technique has been specifically designed to clone (to a reasonable extent) multisampling reference results.

This code is licensed under the MIT license, with a clarification to avoid copyright notices on binary releases (see below).

Checkout the paper for more info!

Thanks To

Stephen Hill ‒ for its invaluable support.

Alex Fry ‒ for its priceless help with the devkit.

Naty Hoffman ‒ for helping us to touch base with the game developer community.

Jean-Francois St-Amour ‒ for providing us great images for testing.

Johan Andersson ‒ for providing the fantastic BF3 image and clearing important questions.

Andrej Dudenhenfer ‒ for creating the SMAA injector.

Dmitriy Jdone ‒ for porting the code to GLSL.

Weibo Xie ‒ for the suggested optimizations.

Alexander Reshetov ‒ for creating MLAA, and opening our mind.

Everyone on the SIGGRAPH course ‒ for the incredible inspiration.

Usage

See SMAA.hlsl for integration info (despite the extension, note that it's OpenGL compatible).

You'll also need some precomputed textures, which can be found as C++ headers (Textures/AreaTex.h and Textures/SearchTex.h), or as regular DDS files (see Textures directory). If you want to see where they came from, you can check out the Scripts directory.

The directories DX9 and DX10 contain integration examples for DirectX 9 and 10 respectively.

Bug Tracker

Found a bug? Please create an issue here on GitHub!

https://github.com/iryoku/smaa/issues

Authors

Jorge Jimenez http://www.iryoku.com/

Jose I. Echevarria http://cheveone.blogspot.com/

Tiago Sousa https://twitter.com/#!/CRYTEK_TIAGO

Belen Masia

Fernando Navarro

Diego Gutierrez http://giga.cps.unizar.es/~diegog/

Copyright and License

Copyright © 2013 Jorge Jimenez ([email protected])

Copyright © 2013 Jose I. Echevarria ([email protected])

Copyright © 2013 Belen Masia ([email protected])

Copyright © 2013 Fernando Navarro ([email protected])

Copyright © 2013 Diego Gutierrez ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. As clarification, there is no requirement that the copyright notice and permission be included in binary distributions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

smaa's People

Contributors

iryoku avatar kphillisjr avatar

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.