Commit Graph

196 Commits

Author SHA1 Message Date
83922f1908 Spot lights v0.19.8 2024-04-12 21:09:14 +04:00
c00f6d97dd Multiple point lights 2024-04-12 08:38:03 +04:00
3c0f82a735 Light maps support (diffuse+specular+normal+emission)+imgui bugs 2024-04-12 03:47:30 +04:00
c058b82a92 Shader cleanup 2024-04-12 02:17:03 +04:00
908e5e96aa Specular lighting 2024-04-12 01:22:05 +04:00
c83e263476 Update todos 2024-04-12 00:23:29 +04:00
01f06cce1e Handle relative mouse mode mouse pos for imgui v0.19.7 2024-04-11 22:12:33 +04:00
20ed804d2a Correctly handle imgui mouse/keyboard capture 2024-04-11 22:07:38 +04:00
80ce6d60d2 Proper support for zero handles v0.19.6 2023-10-09 05:03:48 +04:00
c998fc26ce Avoid deprecated gl funcs+Improve imgui with srgb v0.19.5 2023-10-08 04:03:54 +04:00
81b515197d Properly working MSAA and SRGB :D 2023-10-08 03:20:56 +04:00
d703a5270c x8 MSAA v0.19.4 2023-10-07 11:28:59 +04:00
caa76c2a5e Remove test changes v0.19.3 2023-10-07 10:58:57 +04:00
da50d597f9 Control over srgba textures and srgba framebuffer 2023-10-07 10:58:01 +04:00
9f9744a142 Fixed now? v0.19.2 2023-10-07 09:55:57 +04:00
b101d54049 Flip textures before uploading to gpu v0.19.1 2023-10-07 09:22:32 +04:00
41b5aea185 Use sRGBA on GPU as PNG/JPEG generally uses that nowadays v0.19.0 2023-10-07 08:46:33 +04:00
3574318552 Fix iterator bug in Nex() v0.18.4 2023-10-07 01:16:10 +04:00
05ccf3e158 Handle one more iterator case v0.18.3 2023-10-06 08:52:27 +04:00
4f5fd50660 Fix iterator bug v0.18.2 2023-10-06 08:42:02 +04:00
aaea27b543 Add an iterator to the registry v0.18.1 2023-10-06 08:10:11 +04:00
039d09f888 Redo and simplify registry and move to own package v0.18.0 2023-10-06 07:28:16 +04:00
1b83d7f9a7 Change Entity->BaseEntity + Add Entity interface 2023-10-06 04:23:42 +04:00
201d9546b2 Make basecomp not use pointer receiver 2023-10-06 04:09:57 +04:00
c1d5033eb0 Separate components from entity 2023-10-06 03:52:43 +04:00
6f646540f9 Enable imgui docking + minor changes v0.17.0 2023-07-24 23:40:20 +04:00
a99dd304ed Complete basic imgui integration 2023-07-24 21:14:09 +04:00
4e45995ed0 Imgui key mapping 2023-07-24 20:39:45 +04:00
a735e01a77 Start transition to github.com/AllenDang/cimgui-go for imgui because the old wrapper is now depcreated. This is auto generated so has much better chance of being supported, and we get latest imgui always (including docking!) 2023-07-24 01:05:42 +04:00
abb45e4c4a Update SDL dep 2023-07-23 23:54:47 +04:00
78ea3ae747 Better DPI handling on windows (crispy text!) 2023-02-04 05:21:48 +04:00
b44b00d7e2 Re-add IndexBufCount v0.16.3 2023-02-04 02:00:13 +04:00
70dccd757e Run init within an imgui frame v0.16.2 2023-02-03 02:20:50 +04:00
d7cd5bfc8d Run one imgui frame before init and another after init v0.16.1 2023-02-03 01:37:01 +04:00
3b8e5c06de Only initialize video and timer subsystems of sdl v0.16.0 2023-02-03 01:14:57 +04:00
8e9dbee002 Fix build tag 2022-12-06 21:10:06 +04:00
7b2fb19618 Update workflow dependencies 2022-12-06 06:34:06 +04:00
9651f77348 Update github workflow to use go 1.18 2022-12-06 06:23:02 +04:00
a16654107b Implement UpdateAllComps v0.14.0 2022-12-06 06:19:38 +04:00
855cbfaba3 Improve assert+imporve error messages when adding comps 2022-12-06 06:17:25 +04:00
b025afe1b4 Add Init,Update,Destroy to Comp+HasComp,DestroyComp funcs 2022-12-06 06:07:49 +04:00
84cd8c28c8 Add BaseComp 2022-12-06 05:20:20 +04:00
7d5e3e2d82 Move comp into own file 2022-12-06 04:56:17 +04:00
23a6689346 Improve entity flags+add freeListSize to registry 2022-12-06 04:51:03 +04:00
36488ead04 Add skybox textures 2022-12-06 04:29:57 +04:00
de77d5464e Remove todo + upgrade gglm 2022-12-06 04:28:34 +04:00
305982deca Light pos and color controls 2022-12-06 03:48:07 +04:00
653a315631 Remove some old code 2022-10-20 01:28:06 +04:00
c971324b5a Move camera when right mouse button is clicked 2022-10-14 07:59:46 +04:00
b5a2479c16 Skybox demo 2022-10-14 07:55:48 +04:00