Commit Graph

350 Commits (3858f73f3f77c5a31313782528ff9b128524a7e9)

Author SHA1 Message Date
Dominik Madarász 2ebaa545c0 gfx: ddraw push rs 2024-04-15 14:38:28 +02:00
Dominik Madarász 4eec9cd8c4 gfx: fix ddraw culling 2024-04-15 14:37:21 +02:00
Dominik Madarász 6a7950ff82 gfx: respect dd_ontop 2024-04-15 14:28:40 +02:00
Dominik Madarász 4f0bd755d0 gfx: ddraw disable default depth test 2024-04-15 14:23:11 +02:00
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 83464176bf gfx: renderstate cleanup 2024-04-15 13:37:34 +02:00
Dominik Madarász 57e55fd8f6 gfx: revert shader caching 2024-04-15 12:07:05 +02:00
Dominik Madarász e74df3477c gfx: unify shader locations in model api 2024-04-15 10:54:30 +02:00
Dominik Madarász c34cde2102 gfx: centralise model shading init 2024-04-15 10:07:28 +02:00
Dominik Madarász 8649efc974 gfx: disable uniform caching + perf tweaks 2024-04-15 09:30:36 +02:00
Dominik Madarász 115fff8ae0 gfx: shader instance caching 2024-04-15 07:21:15 +02:00
Dominik Madarász 05f23f2ca6 add luaffi 2024-04-12 21:17:01 +02:00
Dominik Madarász b01ac27fca gfx: scene_render cleanup 2024-04-12 19:53:46 +02:00
Dominik Madarász fd6b9ef639 gfx: model render pass switch + lmap fix 2024-04-12 00:22:52 +02:00
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 ff72ac6bc9 gfx: generate brdf lut 2024-03-27 19:02:07 +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 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 0f817be23a script api revamp 2024-01-02 20:52: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