Commit Graph

47 Commits

Author SHA1 Message Date
Branimir Karadžić
dd961560d5 Raw buffers (#3920)
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.

* Rebuild internal embedded shaders.

* Updated bindings.

* Rebuild embedded shaders.

* Rebuilt shaders.

* Updated bindings.
2026-08-22 20:03:12 -07:00
Branimir Karadžić
b54610b562 Rebuilt shaders. (#3886) 2026-08-13 17:10:11 -07:00
Matthew
527397d502 Atmospheric sky example v1 (#3861)
* Implemented terrain heightmap loading.

* Textured the terrain in sky2.

* Atmosphere implementation.

* Terrain lit, aerial perspective implemented.

* Shadow mapping for the terrain.

* Implemented hex-tiling.

im tired

* Cleanup

* Fixed OpenGL sampler issue.

* Brought back overridden shaders.
2026-08-02 02:29:51 +00:00
Branimir Karadžić
a4555482f9 Increased number of texcoord attributes, increased instance data, added int32/uint32 vertex attributes. (#3832) 2026-07-14 05:15:13 +00:00
Jason Millard
7927ef1c6f Metal: Add support for layered rendering. (#3802)
* metal: add support for layered rendering

* examples: add 52-layered demonstrating layered rendering
2026-07-14 02:16:24 +00:00
Branimir Karadžić
a62a6f008b Fixed indexed draw indirect with dynamic/transient index buffers. (#3813) 2026-07-06 21:45:53 +00:00
Branimir Karadžić
77603f3d34 28-wireframe: Built vertex pulling shaders. (#3786) 2026-06-26 00:28:13 -07:00
Branimir Karadžić
0b0ddb7f6b Added generate mips on frame buffer resolve. (#3664) 2026-04-17 05:04:57 +00:00
Branimir Karadžić
a7016487e5 Added 51-gpufont example. (#3641) 2026-03-23 02:34:05 +00:00
Branimir Karadžić
252efb73d9 Rebuilt 16-shadowmaps shaders. (#3584) 2026-02-08 00:41:24 +00:00
Branimir Karadžić
509129b5d7 Rebuild shaders (#3537)
* shaderc: Removed instMul.

* Rebuilt shaders.
2026-01-09 06:41:06 +00:00
Branimir Karadžić
9d63c39a44 Rebuilt shaders. (#3520) 2025-12-23 04:53:36 +00:00
Бранимир Караџић
56dd9f4ae1 Rebuilt metal & spir-v shaders. 2025-05-10 19:58:27 -07:00
Бранимир Караџић
fdf84449ef Rebuilt metal & spir-v shaders. 2025-03-14 22:05:19 -07:00
Бранимир Караџић
f8b20616de Rebuilt spir-v shaders. 2024-09-28 10:14:37 -07:00
Branimir Karadžić
d1feabe319 Rebuilt shaders. 2024-06-15 14:47:08 -07:00
Бранимир Караџић
00fa5ad179 Updated SPIR-V shaders. 2024-05-27 22:32:47 -07:00
Branimir Karadžić
6f2716d2f4 Rebuilt shaders. 2023-09-30 16:54:57 -07:00
Бранимир Караџић
0069766e61 Rebuilt SPIR-V shaders. 2022-10-29 09:03:13 -07:00
Бранимир Караџић
f8af71c4ce Rebuilt SPIR-V shaders. 2022-10-27 19:44:24 -07:00
pezcode
ba467be036 Add support for indirect draw with indirect count (#2925)
* Add indirect draw with indirect count (BGFX_CAPS_DRAW_INDIRECT_COUNT)

* Update bindings

* VK: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* D3D12: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* GL: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* 48-drawindirect: Use BGFX_CAPS_DRAW_INDIRECT_COUNT if available

* 48-drawindirect: Update shaders
2022-09-17 18:16:19 -07:00
blackhole
2b11045331 Example 49 - hextile (Changes to fix regular tiling (tiling rate) to match hex tile rate) (#2924) 2022-09-16 13:48:19 -07: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
4613bd1e02 Parallelised compute shader in example 48 (#2906)
* Parallelised compute shader in example 48

* Ex48 - Dispatch numToDraw/64 workgroups of 64 local threads

* fixed vs build (again)
2022-08-29 06:44:55 -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
Бранимир Караџић
664bb5ca21 39-assao: Rebuilt spir-v shaders. 2022-05-25 09:24:31 -07:00
Branimir Karadžić
1d0d9b7149 21-deferred: Rebuilt shaders. 2021-10-28 18:40:46 -07:00
Branimir Karadžić
4f1b3f8a1b 37-gpudrivenrendering: Rebuilt shaders. 2021-10-22 11:33:10 -07:00
Branimir Karadžić
778dffb6ee 46-fsr: Built shaders. 2021-10-06 17:40:15 -07:00
Бранимир Караџић
f50d84da52 Rebuilt SPIR-V shaders. 2021-10-02 11:31:52 -07:00
Бранимир Караџић
3214539bad Fixing WebGL + Android instancing. 2021-05-18 20:22:46 -07:00
Branimir Karadžić
820e0a0e03 Updated shaders. 2021-02-04 20:33:42 -08:00
Branimir Karadžić
1401a5333d 45-bokeh: Built shaders and added example. 2021-01-31 10:07:49 -08:00
Branimir Karadžić
4c18b80c9d 44-sss: Built shaders and added example to GENie script. 2021-01-10 11:24:28 -08:00
Branimir Karadžić
4760628bb1 43-denoise: Added shaders. 2021-01-02 10:46:43 -08:00
Бранимир Караџић
c2b7ffe2e7 Updated SPIR-V and Metal shaders. 2020-12-28 13:01:44 -08:00
Branimir Karadžić
729c6b98ed Rebuilt shaders. 2020-10-04 22:39:41 -07:00
Бранимир Караџић
cf170738b1 Updated Vulkan shaders. 2020-05-03 14:20:25 -07:00
Бранимир Караџић
e9a199d22b VK: Added 21-deferred shaders. 2019-08-15 21:55:01 -07:00
Бранимир Караџић
6f1485190f VK: Added compute shaders. 2019-08-13 20:32:22 -07:00
Бранимир Караџић
3ea3f32c06 VK: Added compute shaders. 2019-08-13 20:00:48 -07:00
Бранимир Караџић
4ed381b2e9 VK: Added compute shaders. 2019-08-13 19:34:59 -07:00
Бранимир Караџић
4986981378 VK: Added compute shaders. 2019-08-13 18:47:21 -07:00
Бранимир Караџић
0e673379d6 Added SPIRV shaders. 2019-08-07 21:53:56 -07:00
Бранимир Караџић
d1ab7164af 09-hdr: Added SPIRV shaders. 2019-08-07 07:00:06 -07:00
Бранимир Караџић
3c93448183 Added few spirv shaders. 2019-08-05 22:12:46 -07:00
Branimir Karadžić
98f398fd51 Fixed build. 2016-10-13 19:17:41 -07:00