Commit Graph

130 Commits (48a6bd5911b064361196fec79c195a6647c198a3)

Author SHA1 Message Date
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 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 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 083174e68c model: use linear filtering by default 2024-02-14 11:52:50 +01:00
Dominik Madarász 10746e8b0f render: fix animations speed setup 2024-02-11 11:38:40 +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 b970e828b1 sync fwk 2023-12-04 09:13:46 +01:00
Dominik Madarász bc1ff71f74 sync fwk 2023-12-02 11:05:15 +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 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 4291c2590b sync fwk 2023-11-26 16:06:55 +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 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 b8b1043aad sync fwk 2023-10-27 09:42:40 +02:00
Dominik Madarász f727f387ae sync fwk 2023-10-22 00:05:22 +02:00
Dominik Madarász ef1d1e1d9b sync fwk 2023-10-21 20:29:22 +02:00
Dominik Madarász 2fddd84946 sync fwk 2023-10-21 11:18:13 +02:00
Dominik Madarász eb331e4251 fix rgba 2023-10-19 13:08:02 +02:00
Dominik Madarász dd783b1f54 sync fwk 2023-10-15 13:16:35 +02:00
Dominik Madarász 759ace3441 update ark + fix omp parallel for deadlock 2023-10-14 22:00:30 +02:00
Dominik Madarász 64a7eade9f sync fwk 2023-10-14 21:47:24 +02:00
Dominik Madarász de4f390376 revert that decision 2023-10-09 18:53:56 +02:00
Dominik Madarász 7e1980b73a panic on shader error 2023-10-09 18:53:05 +02:00
Dominik Madarász 0f328384b2 fix GL program used 2023-10-09 18:15:02 +02:00
Dominik Madarász 5edc8228c7 sync with FWK 2023-10-07 19:34:09 +02:00
Dominik Madarász 4e871b7612 sync to FWK 2023-10-05 07:16:41 +02:00
Dominik Madarász 51f0959d75 sync to FWK 2023.9 2023-10-01 08:49:08 +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 9731ca611c render: finalize phong shader 2023-09-23 22:00:22 +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 0beb264e2b scene: WIP lighting pass 2023-09-23 17:22:48 +02:00
Dominik Madarász 8129920be2 window: transparent windows (r-lyeh) 2023-09-21 12:45:42 +02:00
Dominik Madarász 1b294f1a27 rimlight control 2023-09-21 12:10:36 +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
Dominik Madarász b47c47df54 render: improve skybox_mie_calc_sh and add sky_intensity 2023-09-11 15:16:16 +02:00
Dominik Madarász aa66b03929 render: expose all params in mie sky shader 2023-09-11 13:27:24 +02:00
Dominik Madarász a20b0b73ad mie skybox no longer uses non-standard uniform default value 2023-09-11 11:07:59 +02:00
Dominik Madarász 959f988836 render: fix skybox_mie_calc_sh sampling cubemap upside down
render: skybox_mie_calc_sh match res to 1024
2023-09-11 10:23:02 +02:00
Dominik Madarász b8422c6eb9 render: rework engine shaders to be loaded from disk 2023-09-10 17:10:49 +02:00
Dominik Madarász 687993ef40 code cleanup 2023-09-10 15:14:34 +02:00
Dominik Madarász 2d6ed9740d render: add skybox_mie_calc_sh 2023-09-10 15:03:01 +02:00
Dominik Madarász 208a5d8772 add changelog to docs 2023-09-08 22:14:11 +02:00
Dominik Madarász cf45869d14 geom shader support 2023-09-08 11:19:33 +02:00
Dominik Madarász 5af4968eed ssbo impl 2023-09-08 10:00:26 +02:00
Dominik Madarász 34c58f04a9 improve shaders 2023-09-08 08:31:58 +02:00
Dominik Madarász 51320bfab1 compute shaders! 2023-09-08 08:16:32 +02:00
Dominik Madarász 1d7e68f18c anims_t drop M 2023-09-07 11:40:43 +02:00
Dominik Madarász 3a70df594b update cooker 2023-08-26 15:33:29 +02:00
Dominik Madarász 3e1e170e16 use va() for events 2023-08-22 13:29:47 +02:00
Dominik Madarász 8b6f07e5c5 ass2iqe: animlist support + sample anim file 2023-08-14 18:30:52 +02:00
Dominik Madarász cb37e1e9f4 upstream changes 2023-08-11 21:53:24 +02:00
Dominik Madarász affc8a9da5 Merge remote-tracking branch 'fwk/main' 2023-08-11 10:32:07 +02:00
Dominik Madarász 1c9f410e36 add glsl join/split tools 2023-08-10 23:53:51 +02:00
Dominik Madarász 5f798d0d8d v4k initial commit 2023-08-10 16:30:56 +02:00