83 Commits

Author SHA1 Message Date
692167ada2 Split buffer struct into VAO+VBO+IBO structs 2024-04-13 02:59:31 +04:00
e22525e2ee Default to srgba textures 2024-04-12 23:38:51 +04:00
9d7bdc0196 Improve error messages 2024-04-12 22:40:08 +04:00
83922f1908 Spot lights 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 2024-04-11 22:12:33 +04:00
81b515197d Properly working MSAA and SRGB :D 2023-10-08 03:20:56 +04:00
d703a5270c x8 MSAA 2023-10-07 11:28:59 +04:00
caa76c2a5e Remove test changes 2023-10-07 10:58:57 +04:00
da50d597f9 Control over srgba textures and srgba framebuffer 2023-10-07 10:58:01 +04:00
039d09f888 Redo and simplify registry and move to own package 2023-10-06 07:28:16 +04:00
c1d5033eb0 Separate components from entity 2023-10-06 03:52:43 +04:00
6f646540f9 Enable imgui docking + minor changes 2023-07-24 23:40:20 +04:00
a99dd304ed Complete basic imgui integration 2023-07-24 21:14:09 +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
78ea3ae747 Better DPI handling on windows (crispy text!) 2023-02-04 05:21:48 +04:00
a16654107b Implement UpdateAllComps 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
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
6f54aecb5f Loading cubemap textures+don't store texture by default 2022-10-14 05:52:28 +04:00
7a25aea6ba Clear stencil buffer every frame+Depth buffer viz 2022-10-14 04:34:40 +04:00
3071b52c85 Basic submeshe support 2022-10-07 05:50:48 +04:00
271b1c0cea Space 2022-10-01 01:48:59 +04:00
0da031aa57 TODO 2022-10-01 01:44:22 +04:00
62194c4cad FPS camera with pitch and yaw 2022-10-01 01:43:01 +04:00
bd79f6e274 Update camera to use pos+forward vectors to calc target 2022-09-30 04:17:48 +04:00
ac0ca8ee39 Generational indices+get/free entity+free list 2022-09-24 23:20:08 +04:00
35ff496a9a Starting entities, components, and levels 2022-08-14 22:00:04 +04:00
52b77e017e Camera package+ rename asserts->assert 2022-07-23 22:51:57 +04:00
71acc2e9ab Remove comment 2022-07-03 08:41:36 +04:00
2690014fc5 Allow texture loading from in-mem images 2022-07-02 22:54:36 +04:00
fe2aef6b6d Support combined shaders+allow loading shaders from string 2022-07-02 22:49:28 +04:00
51057b8a0d TextureLoadOptions+fix DT bug+remove SetAttribute 2022-07-02 21:38:48 +04:00
e1bf0697fc Simplify the game interface 2022-07-02 21:21:59 +04:00
89d04c9d24 Enable blending by default 2022-05-21 12:11:15 +04:00
f1b6f3a7c0 Start function in Game interface 2022-02-27 11:21:15 +04:00
709dc062cc Day 15: Basic renderer+improve material system+lockosthread on init 2022-02-26 22:07:59 +04:00
841a6e989c Remove unused variables 2022-02-23 09:53:09 +04:00
94942e55a1 Cache uniform/attrib locations+display fps averages over a second 2022-02-23 09:05:21 +04:00
f16407629a Correct loading of png textures to match opengl coords 2022-02-23 07:28:12 +04:00