Commit Graph

416 Commits (5b6afd747fe2705c45d33e0767046550deeb87dd)

Author SHA1 Message Date
Dominik Madarász d05c92a9b7 gfx: more cull face coverage 2024-04-11 10:04:52 +02:00
Dominik Madarász 2277b42619 gfx: figure out face culling defaults 2024-04-11 09:43:10 +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 90a7319eaf gfx: postfx_end use rs 2024-04-11 00:59:32 +02:00
Dominik Madarász 40783980c0 drop lightmap hack 2024-04-11 00:55:14 +02:00
Dominik Madarász b4d410212f demos: fix lmap and lod demo 2024-04-11 00:51:47 +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 1b6169a515 shadertoy: set viewport 2024-03-29 00:21:53 +01:00
Dominik Madarász 594b8a0136 demos: shadertoy in material 2024-03-27 21:58:15 +01:00
Dominik Madarász 989a86fb1a gfx: tweak sphere_to_polar 2024-03-27 20:21:52 +01:00
Dominik Madarász ff72ac6bc9 gfx: generate brdf lut 2024-03-27 19:02:07 +01:00
Dominik Madarász b94c56ec58 fx: move tonemap shaders to engine art dir 2024-03-27 16:02:28 +01:00
Dominik Madarász 76b256ab02 fx: ui fixes 2024-03-27 14:49:07 +01:00
Dominik Madarász f66f0336c2 fx: set default priority 2024-03-27 14:03:21 +01:00
Dominik Madarász 9992c74e52 fx: fx_order support 2024-03-27 14:00:03 +01:00
Dominik Madarász 2bc338172c improve pbr shader, introduce fxAces.fs 2024-03-27 12:48:23 +01:00
Dominik Madarász 7037d7158b revert gamma correction code 2024-03-27 12:11:39 +01:00
Dominik Madarász 59c9f8be4e more gamma tweak-ups 2024-03-27 08:36:32 +01:00
Dominik Madarász fabbcc4aa7 gfx: TEXTURE_NO_SRGB 2024-03-26 21:14:42 +01:00
Dominik Madarász b8be40e489 skinned gui srgb option 2024-03-26 20:15:30 +01:00
Dominik Madarász a7e3a924aa sneaky shader 2024-03-26 19:40:53 +01:00
Dominik Madarász bd19dba3a3 last srgb change 2024-03-26 19:38:12 +01:00
Dominik Madarász dc5bbd32e9 srgb 2024-03-26 19:31:03 +01:00
Dominik Madarász 5f31dd100c improve srgb control 2024-03-26 19:13:55 +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 d2582796a8 render: optimise pbr load 2024-03-26 15:22:36 +01:00
Dominik Madarász d636c1c796 render: unify pbr materials 2024-03-26 15:09:49 +01:00
Dominik Madarász 418a5ad527 fix mpeg decode for ycbcr 2024-03-21 12:10:28 +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 4fdc043677 shader uniform caching 2024-03-21 08:13:47 +01:00
Dominik Madarász 2f49239a9f improve shader binding for PBR 2024-03-21 07:47:28 +01:00
Dominik Madarász fad3653201 improve tex unit allocation 2024-03-21 07:43:51 +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 4fcfb2690a improve pbr analytical lights 2024-03-20 22:49:11 +01:00
Dominik Madarász 2aee9c3240 disable cook on demand 2024-03-20 21:52:44 +01:00
Dominik Madarász 64c6fb54a4 drop flag check 2024-03-20 21:48:52 +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 7efc59079a improve material demo 2024-03-20 20:46:40 +01:00
Dominik Madarász 91d3f9a03a cleanup 2024-03-20 19:42:49 +01:00
Dominik Madarász 6f83b81132 preprocess shaders 2024-03-20 19:41:12 +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 33fb24142d renderer: mesh_destroy 2024-03-01 12:37:11 +01:00
Dominik Madarász 3070fece7e fix enet 2024-03-01 10:12:47 +01:00
Dominik Madarász 2ea8b3da07 update enet 2024-03-01 08:46:17 +01:00
Dominik Madarász 5a4e56f63c win: add viewport_color 2024-02-28 08:53:04 +01:00
Dominik Madarász 47c8b3c689 scene: add camera_fps2 2024-02-21 13:40:04 +01:00
Dominik Madarász 9665e4191e wip: rpc v_v sig 2024-02-18 14:36:48 +01:00
Dominik Madarász 5381ee4e68 ci improvements 2024-02-18 14:00:06 +01:00
Dominik Madarász 9337fdfa6e sync fwk 2024-02-16 18:41:02 +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 083174e68c model: use linear filtering by default 2024-02-14 11:52:50 +01:00
Dominik Madarász 4d3735414d font: move shaders to art/ folder 2024-02-12 10:56:46 +01:00
Dominik Madarász 86cbafa06c add support for fwk/v4k plugins 2024-02-11 15:34:47 +01:00
Dominik Madarász f23b2b6e08 reduce code in fps__timing_thread 2024-02-11 13:11:22 +01:00
Dominik Madarász 78d44cff61 style change 2024-02-11 12:01:03 +01:00
Dominik Madarász 6f9fb45364 window: fix vsync flags 2024-02-11 11:57:05 +01:00
Dominik Madarász 10746e8b0f render: fix animations speed setup 2024-02-11 11:38:40 +01:00
Dominik Madarász 0a2167cf68 add PLUG.bat 2024-02-11 11:37:31 +01:00
Dominik Madarász 034046320f ems fixes 2024-02-11 03:29:24 +01:00
Dominik Madarász dd7003b276 steam: fix ems build 2024-02-11 03:23:53 +01:00
Dominik Madarász 4fd3e9cd67 editor: improve engine_tick powersave feature 2024-02-11 03:17:40 +01:00
Dominik Madarász c7c347fa90 win: improve fps timing and fix glfw vsync 2024-02-11 01:01:49 +01:00
Dominik Madarász 6743bc18fd font: optimise font_wrap 2024-02-10 22:36:04 +01:00
Dominik Madarász c25f4ba912 font: improve cursor advancing 2024-02-10 22:14:00 +01:00
Dominik Madarász 737e4ce33f font: preserve font cursor 2024-02-10 21:55:16 +01:00
Dominik Madarász 77012ae90d font: font_wrap support 2024-02-10 21:28:48 +01:00
Dominik Madarász 3a853d09d7 font: font_print_rect -> font_clip + scissor test 2024-02-10 17:05:45 +01:00
Dominik Madarász 65b57039a2 font: drop tags that don't fit in buf 2024-02-08 15:37:49 +01:00
Dominik Madarász bea30c6e12 font: improve tag collection 2024-02-08 15:34:39 +01:00
Dominik Madarász 64994fe27a font: small improvements 2024-02-08 15:17:00 +01:00
Dominik Madarász 0da93a645b font: add FONT_JUSTIFY support 2024-02-08 14:21:19 +01:00
Dominik Madarász b79492b709 font: text alignment fixes 2024-02-08 13:23:27 +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 50d622da52 add window_debug() 2024-01-31 00:48:42 +01:00
Dominik Madarász 00bbc208ff fix shader issue + demo assets 2024-01-03 22:47:14 +01:00
Dominik Madarász 0f817be23a script api revamp 2024-01-02 20:52:20 +01:00
Dominik Madarász 9e31348378 sync fwk 2024-01-01 22:06:20 +01:00
Dominik Madarász 433d741838 sync fwk 2024-01-01 11:47:45 +01:00
Dominik Madarász ba6aacaf5b sync fwk 2024-01-01 11:37:22 +01:00
Dominik Madarász 6c272811ab gui_label() now uses slice udata for text color 2023-12-12 15:24:37 +01:00
Dominik Madarász 4c71f9899e audio: add a few enhancements 2023-12-12 11:56:44 +01:00
Dominik Madarász 427c957e49 sync fwk 2023-12-12 10:15:19 +01:00
Dominik Madarász 0e2f086ae5 sync fwk 2023-12-11 19:05:57 +01:00
Dominik Madarász 0ddc564a09 small fix in gui_panel_id 2023-12-11 19:03:29 +01:00
Dominik Madarász 5594e4d642 fix glScissor coords bug 2023-12-11 18:53:56 +01:00
Dominik Madarász 83644f679a fix typo in API 2023-12-10 17:49:39 +01:00
Dominik Madarász 3008fb5b65 gitify last commit 2023-12-10 16:48:21 +01:00
Dominik Madarász 616ade56d7 add font_metrics() method 2023-12-10 16:47:42 +01:00
Dominik Madarász 02ddcb0af8 font system improvements 2023-12-10 16:01:36 +01:00
Dominik Madarász b970e828b1 sync fwk 2023-12-04 09:13:46 +01:00
Dominik Madarász 4688b154e5 sync fwk 2023-12-04 09:10:39 +01:00
Dominik Madarász 67f60ac798 sync fwk 2023-12-04 09:07:11 +01:00
Dominik Madarász bc1ff71f74 sync fwk 2023-12-02 11:05:15 +01:00
Dominik Madarász fe24c0c5e7 improve lmap data 2023-12-02 10:58:18 +01:00
Dominik Madarász f61b4c6653 sync fwk 2023-12-01 23:12:02 +01:00
Dominik Madarász 5738a5615a sync fwk 2023-12-01 22:27:44 +01:00
Dominik Madarász 4af34422f2 lmap updates 2023-12-01 22:19:41 +01:00
Dominik Madarász 7bcfb3e00c add progress func 2023-12-01 16:54:40 +01:00
Dominik Madarász 17dae10084 lmap boundary fixes + opts 2023-12-01 16:33:57 +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 32d4aa8d02 add 'make swap' cmd 2023-11-30 16:07:20 +01:00
Dominik Madarász ab06ce0192 wip lightmapper + GUI improvements 2023-11-30 14:33:49 +01:00
Dominik Madarász 1e65c7cdcf fix btn press regression 2023-11-28 21:04:46 +01:00
Dominik Madarász a8cbc91bf6 add gui_label and variants 2023-11-28 16:37:20 +01:00
Dominik Madarász 5bd16646b4 fix slider cursor pos 2023-11-28 15:38:30 +01:00
Dominik Madarász 7b6d120c10 later docs 2023-11-28 14:52:32 +01:00
Dominik Madarász c62dc88bc2 docs 2023-11-28 14:50:32 +01:00
Dominik Madarász 3a0de7ba05 improve docs 2023-11-28 14:49:43 +01:00
Dominik Madarász d4d6a14694 add style guide for gui_skinned() 2023-11-28 14:48:54 +01:00
Dominik Madarász 3ed712c8b5 only trigger slider change if changed by user 2023-11-28 14:36:44 +01:00
Dominik Madarász 44e1bce7b6 return if gui_slider was changed 2023-11-28 14:35:28 +01:00
Dominik Madarász 2b0e522adf improve sliders 2023-11-28 14:34:34 +01:00
Dominik Madarász 31acdce47d implement sliders and panels 2023-11-28 14:31:56 +01:00
Dominik Madarász 2562509584 2023.11 release! 2023-11-26 22:21:57 +01:00
Dominik Madarász ed13bab0b9 gui: another pass 2023-11-26 20:03:38 +01:00
Dominik Madarász 02ebdb77b2 gui cleanup 2023-11-26 18:54:02 +01:00
Dominik Madarász 071d73dbe2 add GUI_PANEL render branch 2023-11-26 17:07:33 +01:00
Dominik Madarász 6da10bec7c integrate v4k_gui 2023-11-26 16:27:33 +01:00
Dominik Madarász 4291c2590b sync fwk 2023-11-26 16:06:55 +01:00
Dominik Madarász b6805c4943 gui skinning 2023-11-26 16:00:28 +01:00
Dominik Madarász 17f41fd361 bring vfs_reload() back 2023-11-22 22:57:44 +01:00
Dominik Madarász 590d2f70c8 data: fix xml_string empty node return value 2023-11-22 18:07:18 +01:00
Dominik Madarász 6feabf8207 sync fwk 2023-11-20 21:19:53 +01:00
Dominik Madarász 52b250df83 cooking fixes + docs enhancements 2023-11-19 17:03:24 +01:00
Dominik Madarász e807e4bef8 sync fwk 2023-11-19 14:12:48 +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 b7344c7298 small billboarding changes 2023-11-07 10:54:37 +01:00
Dominik Madarász d5a0dac5d4 fix billboarding code 2023-11-06 13:51:17 +01:00
Dominik Madarász 6e39436792 delete old code 2023-11-06 09:31:26 +01:00
Dominik Madarász 62390a3e4b billboarding fixed 2023-11-06 09:30:19 +01:00
Dominik Madarász 97973d344f sync fwk 2023-11-05 16:30:11 +01:00
Dominik Madarász 7c84c3b7a4 move stuff to demos 2023-11-02 19:39:14 +01:00
Dominik Madarász 47c3add134 add curve module 2023-11-02 18:45:44 +01:00
Dominik Madarász 9e9cb02a6a sync fwk 2023-11-02 10:59:58 +01:00
Dominik Madarász 16e546b2a2 sync fwk 2023-11-02 10:54:49 +01:00
Dominik Madarász fb515681b1 sync fwk 2023-11-01 12:24:16 +01:00
Dominik Madarász 6998920b35 sync fwk 2023-10-29 12:19:16 +01:00
Dominik Madarász 2e2da516a9 fix in engine_tick 2023-10-28 23:00:49 +02:00
Dominik Madarász 6bc3c82ff0 sync fwk 2023-10-28 22:36:59 +02:00