a8a10b0b89
* First commit - tested with dx11 on windows * Minor changes & adding some comments. * Update hextile.cpp * update some bin files * rename texture * minor comment update * Added support to configure tile rate as well as tile rotation strength, update bin files & screenshot * use texture from polyhaven, updated screenshot, updated bin files & minor changes to shader. * missed pushing texture * update license * Update hextile.cpp * Fix regular tiling * use ktx with mipmaps * minor change to ensure that regular tiling & hextile matches with default tile rate. * minor c Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
134 lines
4.7 KiB
ReStructuredText
134 lines
4.7 KiB
ReStructuredText
License
|
|
=======
|
|
|
|
`License (BSD 2-clause) <https://github.com/bkaradzic/bgfx/blob/master/LICENSE>`__
|
|
----------------------------------------------------------------------------------
|
|
|
|
::
|
|
|
|
Copyright 2010-2022 Branimir Karadzic
|
|
|
|
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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE 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/ <https://github.com/bkaradzic/bgfx/tree/master/3rdparty>`__
|
|
directory.
|
|
|
|
- cgltf (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/cgltf/LICENSE>`__)
|
|
- Dear ImGui (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/dear-imgui/LICENSE.txt>`__)
|
|
- Blendish (`MIT <https://github.com/bkaradzic/bgfx/blob/67b2f1e2bfcf6015db6d8b5c2d6fcfd5cee7e167/examples/20-nanovg/blendish.h#L2-L22>`__)
|
|
- fcpp (`BSD <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/fcpp/COPYING>`__)
|
|
- glsl-optimizer (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/glsl-optimizer/license.txt>`__)
|
|
- glslang (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/glslang/LICENSE.txt>`__)
|
|
- IconFontCppHeaders (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/iconfontheaders/LICENSE>`__)
|
|
- meshoptimizer (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/meshoptimizer/LICENSE.md>`__)
|
|
- NanoVG (`ZLIB <https://github.com/bkaradzic/bgfx/blob/67b2f1e2bfcf6015db6d8b5c2d6fcfd5cee7e167/examples/common/nanovg/nanovg.cpp#L2-L16>`__)
|
|
- SDF (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/sdf/LICENSE.txt>`__)
|
|
- spirv-cross (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-cross/LICENSE>`__)
|
|
- spirv-headers (`Khronos/MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-headers/LICENSE>`__)
|
|
- spirv-tools (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-tools/LICENSE>`__)
|
|
- stb (`Public Domain <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/stb/LICENSE>`__)
|
|
|
|
Assets
|
|
------
|
|
|
|
Bunny
|
|
|
|
- `Stanford University Computer Graphics Laboratory <http://www-graphics.stanford.edu/data/3Dscanrep/>`__
|
|
|
|
Uffizi
|
|
|
|
- `Light Probe Image Gallery <http://www.pauldebevec.com/Probes/>`__
|
|
|
|
Wells
|
|
|
|
- `Bernhard Vogl Light probes <http://dativ.at/lightprobes/>`__
|
|
|
|
Pisa, Ennis, Grace
|
|
|
|
- `High-Resolution Light Probe Image Gallery <http://gl.ict.usc.edu/Data/HighResProbes/>`__
|
|
|
|
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://julianherzog.com/>`__
|
|
- https://commons.wikimedia.org/wiki/File:Normal_map_example_with_scene_and_result.png
|
|
|
|
Hextile example-49 texture (CC0 License)
|
|
|
|
- `Rob Tuytel`__
|
|
- https://polyhaven.com/a/aerial_rocks_04
|