# License

## License (BSD 2-clause)

    Copyright 2010-2016 Branimir Karadzic. All rights reserved.

    https://github.com/bkaradzic/bgfx

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

       1. Redistributions of source code must retain the above copyright notice,
          this list of conditions and the following disclaimer.

       2. Redistributions in binary form must reproduce the above copyright notice,
          this list of conditions and the following disclaimer in the documentation
          and/or other materials provided with the distribution.

    THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR
    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
    EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## 3rd Party Libraries

All required 3rd party libraries are included in bgfx repository in 3rdparty/ directory.

### Blendish (MIT)

Blendish - Blender 2.5 UI based theming functions for NanoVG.

> - https://bitbucket.org/duangle/oui-blendish

### edtaa3 (MIT)

Contour Rendering by Distance Fields

> - https://github.com/OpenGLInsights/OpenGLInsightsCode/tree/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields

### fcpp (BSD)

Frexx C preprocessor

> - https://github.com/bagder/fcpp

### Forsyth Triangle Order Optimizer (Public Domain)

> - http://gameangst.com/?p=9

### FreeType

> - http://www.freetype.org/

### glsl-optimizer (MIT)

GLSL optimizer based on Mesa’s GLSL compiler. Used in Unity for mobile shader optimization.

> - https://github.com/aras-p/glsl-optimizer

### NanoVG (ZLIB)

NanoVG is small antialiased vector graphics rendering library.

> - https://github.com/memononen/nanovg

### ImGui (MIT)

Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies.

> - https://github.com/ocornut/imgui

### SDF (MIT)

Sweep-and-update Euclidean distance transform of an antialised image for contour texturing.

> - https://github.com/memononen/SDF

### stb (Public Domain)

> - http://nothings.org

### Vertex Cache Optimised Index Buffer Compression (BSD)

> - https://github.com/ConorStokes/IndexBufferCompression

## Assets

Bunny

> - Stanford University Computer Graphics Laboratory

Uffizi

> - Light Probe Image Gallery

Wells

> - Bernhard Vogl Light probes

Pisa, Ennis, Grace

> - High-Resolution Light Probe Image Gallery

Droid Sans Font

> - http://www.fontsquirrel.com/license/Droid-Sans

Bleeding Cowboys Font

> - http://www.dafont.com/bleeding-cowboys.font

Cheap Fire Font

> - http://www.dafont.com/cheap-fire.font

Five Minutes Font

> - http://www.fonts2u.com/fiveminutes.font

Mias Scribblings Font

> - http://www.dafont.com/mias-scribblings.font

Ruritania Font

> - http://www.dafont.com/ruritania.font

Signika Font

> - http://fontfabric.com/signika-font/

Visitor Font

> - http://www.dafont.com/visitor.font

Special-Elite Font

> - http://www.fontspace.com/astigmatic-one-eye-typographic-institute/special-elite

FontAwesome Font

> - http://fontawesome.io/

Sherlock Holmes text

> - http://www.gutenberg.org/ebooks/1661

Tree Pack 1

> - http://www.turbosquid.com/3d-models/free-obj-mode-tree-pack/506851

Light Transport Equation Orb

> - https://github.com/lighttransport/lighttransportequation-orb

Normal map texture (GFDL License)

> - Julian Herzog
> - https://commons.wikimedia.org/wiki/File:Normal_map_example_with_scene_and_result.png