Commit Graph

66 Commits (4eec9cd8c4c15da4b8f825f820521060256f1ee7)

Author SHA1 Message Date
Dominik Madarász 881a36b759 gfx: rename polygon mode state 2024-04-15 14:14:50 +02:00
Dominik Madarász 41505bc56f gfx: remove wireframe state 2024-04-15 14:13:53 +02:00
Dominik Madarász 9bd54e7ae1 gfx: finish up renderstate
This reverts commit 115fff8ae0.
2024-04-15 14:10:11 +02:00
Dominik Madarász e74df3477c gfx: unify shader locations in model api 2024-04-15 10:54:30 +02:00
Dominik Madarász fd6b9ef639 gfx: model render pass switch + lmap fix 2024-04-12 00:22:52 +02:00
Dominik Madarász 50cc35db90 additional improvements 2024-04-11 01:23:21 +02:00
Dominik Madarász 7b67f29611 gfx: drop viewport and scissor_box 2024-04-11 01:13:35 +02:00
Dominik Madarász 99111665ba snake_case renderstate_t 2024-04-11 00:42:53 +02:00
Dominik Madarász 1c19c44400 wip: renderstate impl 2024-04-11 00:19:08 +02:00
Dominik Madarász 9992c74e52 fx: fx_order support 2024-03-27 14:00:03 +01:00
Dominik Madarász 7037d7158b revert gamma correction code 2024-03-27 12:11:39 +01:00
Dominik Madarász fabbcc4aa7 gfx: TEXTURE_NO_SRGB 2024-03-26 21:14:42 +01:00
Dominik Madarász b841064174 fix CRLF 2024-03-26 17:15:02 +01:00
Dominik Madarász b14c31b4e0 gfx: gamma correction 2024-03-26 17:05:14 +01:00
Dominik Madarász 253b931093 demos: fix 99-pbr 2024-03-26 15:34:25 +01:00
Dominik Madarász d636c1c796 render: unify pbr materials 2024-03-26 15:09:49 +01:00
Dominik Madarász b69eaee2ee improve docs 2024-03-21 08:28:12 +01:00
Dominik Madarász 311e5894a7 promote texture_unit() 2024-03-21 08:27:08 +01:00
Dominik Madarász c8a6c79bf1 cycle texture units 2024-03-21 07:13:18 +01:00
Dominik Madarász bbd9b4e950 support multiple PBR materials 2024-03-21 06:36:53 +01:00
Dominik Madarász f620ed1938 optimise skybox_pbr 2024-03-20 21:46:51 +01:00
Dominik Madarász 082f78d25f add cmft studio + hdr maps 2024-03-20 21:25:47 +01:00
Dominik Madarász 363ae843f4 add MODEL_PBR flag 2024-03-20 18:49:26 +01:00
Dominik Madarász 920d8ecad4 wip: pbr support 2024-03-20 18:33:02 +01:00
Dominik Madarász 3070fece7e fix enet 2024-03-01 10:12:47 +01:00
Dominik Madarász 5a4e56f63c win: add viewport_color 2024-02-28 08:53:04 +01:00
Dominik Madarász 4982761b48 various improvements 2024-02-16 15:38:45 +01:00
Dominik Madarász 7d5efa6c62 draw: add TEXTURE_ANISOTROPY flag 2024-02-14 15:09:47 +01:00
Dominik Madarász 295a9d932d font: fix linedist calc + add font_print_rect 2024-02-08 11:24:55 +01:00
Dominik Madarász 0e2f086ae5 sync fwk 2023-12-11 19:05:57 +01:00
Dominik Madarász 7bcfb3e00c add progress func 2023-12-01 16:54:40 +01:00
Dominik Madarász 985b4de0d2 lightmapping support 2023-12-01 16:05:38 +01:00
Dominik Madarász 084f549ba1 wip: lmap 2023-12-01 12:01:03 +01:00
Dominik Madarász ab06ce0192 wip lightmapper + GUI improvements 2023-11-30 14:33:49 +01:00
Dominik Madarász ceae5e2fe0 sync fwk 2023-11-19 13:07:28 +01:00
Dominik Madarász 5aa83a524a huge v4k update 2023-11-15 20:14:14 +01:00
Dominik Madarász d5a0dac5d4 fix billboarding code 2023-11-06 13:51:17 +01:00
Dominik Madarász 97973d344f sync fwk 2023-11-05 16:30:11 +01:00
Dominik Madarász fb515681b1 sync fwk 2023-11-01 12:24:16 +01:00
Dominik Madarász 2fddd84946 sync fwk 2023-10-21 11:18:13 +02:00
Dominik Madarász dd783b1f54 sync fwk 2023-10-15 13:16:35 +02:00
Dominik Madarász d029777c9d sync with fwk 2023-09-27 08:49:59 +02:00
Dominik Madarász a4869085a4 window: improve transparency pass (r-lyeh) 2023-09-25 12:24:49 +02:00
Dominik Madarász e437dcabe2 sync to FWK
new: FX params exposed automatically (int,float,vec2/3/4,color3/4), set/min/max/tooltips
new: atof2/3/4, ftoa2/3/4, swapf2/3/4, clamp2/3/4
lab: shader reflection API
brk: changed ui_enable() signature; renamed clamp234->clamp234f
2023-09-25 06:29:29 +02:00
Dominik Madarász fff4880c4f render: finish up phong shading 2023-09-23 20:53:25 +02:00
Dominik Madarász b44fd791a6 render: fx_end() no longer takes fb handle 2023-09-23 18:23:38 +02:00
Dominik Madarász 8129920be2 window: transparent windows (r-lyeh) 2023-09-21 12:45:42 +02:00
Dominik Madarász 70678e6ee1 render: shader() now takes GLSL defines 2023-09-19 06:50:53 +02:00
Dominik Madarász 2ec699948c workbench: initial impl wip
render: supporting changes
ui: new methods
2023-09-17 22:56:51 +02:00
Dominik Madarász 07b002d536 render: fix skybox_mie_calc_sh cast 2023-09-11 15:22:16 +02:00