125 Commits

Author SHA1 Message Date
e4199b8d30 Update imgui 2024-09-15 17:20:37 +04:00
5c98903723 Add all gl BufUsage values+support bufusage in ubo 2024-09-15 16:29:54 +04:00
3cdd40f0a2 Remove test log 2024-09-15 16:18:59 +04:00
9dccb23613 Move ambient color to lightubo 2024-09-15 16:18:03 +04:00
5dfdea9a7b Move spotlights to ubo 2024-09-15 16:09:37 +04:00
bcb46d1699 Fix ubo alignment+Move point lights to ubo 2024-09-15 15:51:26 +04:00
09231c5ebd Update ubo.SetStruct to handle nested struct arrays 2024-09-15 12:33:34 +04:00
f2b757c606 Move dirLight&camPos&projViewMat to ubos 2024-09-15 08:40:05 +04:00
3be4ad9c45 Optimize 2024-09-14 19:41:39 +04:00
bbc8652292 What if we could have ubos with nested structs 2024-09-14 18:38:59 +04:00
0d34e0fe6e Ubos with nested structs slowly getting there 2024-06-06 04:59:40 +04:00
870653019c Support ubo matrix arrays+fix ubo matrix field bug 2024-05-26 21:14:33 +04:00
79cb6805c4 Scalar uniform array in uniform buffers 2024-05-26 15:03:00 +04:00
ff7fe4e531 Struct to ubo support 2024-05-26 12:55:58 +04:00
cb20e8ba8b Initial uniform buffers implementation 2024-05-23 07:57:46 +04:00
9e6fdacb48 Much nicer point lights! 2024-05-14 09:07:54 +04:00
f13db47918 Much nicer point light formulas 2024-05-14 07:36:14 +04:00
dcfe254052 Stop sudden camera snaps+nicer debug window 2024-05-14 06:25:39 +04:00
1d71715cb4 Make const value naming upper snake case 2024-05-13 05:35:53 +04:00
581d17d1d9 Frame time graph 2024-05-13 05:18:21 +04:00
3795a7123f Ensure renderer calls aren't virtual 2024-05-13 04:57:16 +04:00
c782e8c312 Get rid of allocations on SetUniform calls, allowing us to pass ref again 2024-05-13 04:33:54 +04:00
6ea08e9826 Get rid of more pointers to make allocs predictable 2024-05-13 03:42:52 +04:00
83c6f635e5 Show fps in debug window 2024-05-13 03:21:47 +04:00
cf6b2655e7 After all why not, why shouldn't we have HDR 2024-05-12 06:46:46 +04:00
7b1e3ea7b4 Default textures for diffuse/specular/normal/emission mat slots 2024-05-11 05:11:54 +04:00
c884d2624d Normal mapping 2024-05-07 05:23:36 +04:00
8c6b1d5821 Adjust shadow map texture sizes 2024-05-06 23:23:52 +04:00
dfd1fe9c5e Material settings+normal matrices on CPU 2024-05-06 22:55:57 +04:00
0386f441d6 Profiling 2024-05-06 22:16:20 +04:00
57ab851534 Update gglm 2024-05-05 00:34:38 +04:00
d523c0951b Get rid of unneeded pointers+update todos 2024-05-01 01:16:33 +04:00
a131e1b52d Add todo regarding input package 2024-04-20 11:14:29 +04:00
f35c217d73 Spotlight shadows 2024-04-16 10:34:30 +04:00
fbfcbaa156 Point light shadows+cubemap array fbo+cleanup 2024-04-15 10:49:18 +04:00
c4b1dd1b3d Geometry shader support+omnidirectional depth map shader+improvements 2024-04-15 05:09:07 +04:00
a5bea5a661 Cubemap depth fbo attachments 2024-04-15 04:16:44 +04:00
5fa6a06079 Clamp to border for depth map+rotating cubes 2024-04-14 06:14:10 +04:00
b718611149 Improving shadows 2024-04-14 03:45:48 +04:00
be85e20024 Basic directional shadows 2024-04-14 02:50:40 +04:00
040228319e Depth fbo+renderer work+texture slots enum+optimize shaders+more 2024-04-13 23:55:52 +04:00
ddd8db3cb0 Framebuffers+unlit shader+screen quad shader 2024-04-13 08:03:17 +04:00
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