13 Commits

Author SHA1 Message Date
Branimir Karadžić
90f0995f8e Rebuilt shaders. (#3972) 2026-09-10 23:39:39 -07:00
Branimir Karadžić
78ee247bf5 S2H cleanup. (#3964) 2026-09-05 19:46:00 +00:00
eres-j
6cfb803865 Example s2h (#3941)
* Add s2h example

* Add s2h Hello Screen example

* Add gather feature example

* Add Arrow, Coordinate System and Table S2H examples

* Add generate user font s2h example

* Add 2D s2h example

* Add 3D s2h example

* Add clear s2h example

* Add Quad Post s2h example

* Add Use User Font s2h example

* Add Debug Zoom s2h example

* Add Quad VS/PS s2h example

* Add Scatter s2h example

* Update s2h_scatter.hlsl (more readable)

* Add Zoom 2D s2h example

* Update s2h samples order to corespong to GiGi one

Enhance Gather sample to looks more like the original one

* Handle bottom-left fragment origins in S2H shaders

* Fix S2H rendering across OpenGL, Vulkan, and DX12

* Removed the redundant u_s2hScreen uniform

- S2H now derives the top-left pixel coordinate from bgfx’s u_viewRect and OpenGL’s built-in bgfx_ndc.z
- Removed its creation, per-view uploads, and destruction from s2h.cpp

* Update 54-s2h shaders to match bgfx shader style

`float2/3/4` → `vec2/3/4`
`float4x4` → `mat4`
`int2 / uint2` → `ivec2 / uvec2`
2026-09-05 17:56:41 +00:00
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ć
3b47ef2560 Rebuilt shaders. (#3838) 2026-07-17 12:10:15 -07: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
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ć
90d61887ac D3D11: Renamed dx11 to dxbc. (#3586) 2026-02-08 01:45:18 +00:00