Commit Graph

46 Commits

Author SHA1 Message Date
Branimir Karadžić
0be9604e74 Uncomment examples. 2023-09-30 16:54:57 -07:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
blackhole
a8a10b0b89
Adds example 49-hextile (#2922)
* 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>
2022-09-15 19:03:07 -07:00
SnapperTT
135dc7fa27
Adds example 48-multidrawindirect (#2894)
* Added example 48-multidrawindirect

* Added example 48-multidrawindirect

* enable shader.mk to build directories that only have compute shaders

* compiled shaders for example 48

* MultidrawIndirect example renamed to DrawIndirect, sets draw mtx in compute

* update 48-drawindirect shaders

* fix typos

* fixed bgfx::setPlatformData change for example48

* fix docs

* added name to cs_drawindirect.sc

* style updates for example 44

* add slider to example 48-drawindirect
2022-08-26 21:32:15 -07:00
Sandy
651432df1d
examples: Add imageformats example (#2872)
* examples: Add imageformats example

Example which renders RGBA color wheel, alpha gradient and full value channel textures to
catch conversion errors and bad internal type representations between different backend
renderers.

The example uses bimg to convert from a master texture to different textures.

Each texture is rendered in an ImGui list using `ImGui::Image`. A close-up is visible
when hovering over each image.

U and I textures are skipped because they don't work for sampling.
Compressed textures are skipped because they don't have conversion functions.
Depth textures are not rendered because they don't work with channels.

* pixelformats: Present texture format in table

* Update pixelformats.cpp

* Update pixelformats.cpp

* pixelformats: Update screenshot

* pixelformats: Add checkerboard background

Co-authored-by: Michał Cichoń <michcic@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-08-22 12:16:58 -07:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Branimir Karadžić
4717192086 Updated makefile. 2021-10-06 17:40:32 -07:00
kingscallop
6440d669a8
Add missing examples in makefile (#2534) 2021-06-05 13:56:29 -07:00
Branimir Karadžić
3e30d7f42f Updated shaders. 2021-02-04 20:35:37 -08:00
Branimir Karadžić
820e0a0e03 Updated shaders. 2021-02-04 20:33:42 -08:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
f232f93017 Added build rule to examples makefile. 2020-12-28 11:58:03 -08:00
Branimir Karadžić
729c6b98ed Rebuilt shaders. 2020-10-04 22:39:41 -07:00
Бранимир Караџић
06d508a8e4 Updated makefile. 2020-05-03 13:54:20 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Branimir Karadžić
54eaf5667b Built missing metal shaders. 2019-01-15 22:54:48 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
83b1ece243 Rebuilt shaders. 2018-09-19 20:35:53 -07:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
016fd301b0 Built assets. 2017-10-03 20:29:40 -07:00
Branimir Karadžić
113ac0bc7a Cleanup. 2017-08-19 11:03:18 -07:00
Apoorva Joshi
c50cc8493f Add parallax occlusion mapping example (#1104)
* Added example 33-pom

* Fixed warning in 33-pom example on Windows

* Deleted unused image files

* Deleted runtime textures and shaders
2017-04-04 09:52:08 -07:00
Branimir Karadžić
8d304c9235 Cleanup. 2017-02-17 10:05:56 -08:00
Brian Harris
ae566e2bb6 Some vulkan fixes (#1051) 2017-02-17 09:35:09 -08:00
Branimir Karadžić
b9b8a6e871 Cleanup. 2017-01-04 08:34:25 -08:00
Branimir Karadžić
2b77088a38 Cleanup. 2016-03-05 11:03:52 -08:00
Branimir Karadžić
861a63bf2e Updated makefiles. 2016-02-29 19:58:17 -08:00
Branimir Karadžić
e4dc2bc02c Rebuilt shaders. 2016-02-28 16:14:05 -08:00
Branimir Karadžić
fb9c4e0121 Cleanup. 2015-12-13 11:05:25 -08:00
Branimir Karadžić
6aa9629816 Added initial occlusion query support. 2015-11-01 17:28:23 -08:00
Branimir Karadžić
1611b074fb Metal: Built shaders. 2015-10-06 21:20:34 -07:00
Branimir Karadžić
649d7f74d2 Updated copyright year. 2015-01-02 14:43:11 -08:00
Branimir Karadžić
83f151f71b Added 24-nbody compute shader example. 2014-12-19 21:09:58 -08:00
Branimir Karadžić
a4b3c2ae36 Added 23-vectordisplay shaders and screenshot. 2014-11-15 17:00:51 -08:00
Branimir Karadžić
35a349ad68 Rebuilt shaders. 2014-08-17 23:31:46 -07:00
Branimir Karadžić
1cda6159c7 Added 20-nanovg example. 2014-04-26 23:50:11 -07:00
Branimir Karadžić
6afa55381a Updated glsl-optimizer. 2014-03-29 16:26:01 -07:00
Branimir Karadžić
e125cb0c20 Updated README. 2014-02-14 00:16:23 -08:00
Branimir Karadžić
e7b42f13c6 Updated copyright year. 2014-02-10 22:18:39 -08:00
bkaradzic
f08ce4fdaa Added 17-drawstress example. 2014-01-18 23:43:16 -08:00
bkaradzic
0ed2edc7b3 Updated shaders and README. 2014-01-13 20:17:56 -08:00
bkaradzic
7f7687d582 Added new shaders. 2013-10-17 22:43:47 -07:00
bkaradzic
71fb00a298 Updated 12-lod. 2013-05-18 09:34:36 -07:00
Jeremie Roy
7c7612a971 integration of font and text system 2013-04-22 22:42:11 +02:00
bkaradzic
ea49146ea1 Fixing eols. 2013-03-17 16:10:50 -07:00
bkaradzic
c86baa678d Added makefile to rebuild all shaders for all examples. 2013-03-17 11:36:51 -07:00