Commit Graph
28 Commits
Author SHA1 Message Date
Piotrek dae867be9f perlin noise 2021-04-26 15:23:40 +02:00
Piotrek beea89699d testing 48x48x48 world and different scales 2021-04-26 14:07:56 +02:00
Piotrek 6206800df9 changed brick texture from being 32x32x32 1D to 32x32x32 2D (smaller indexes) 2021-04-26 14:01:13 +02:00
Piotrek 1bb45ec31b renamed brick to block, world gen stuff in separate file 2021-04-25 16:22:24 +02:00
Piotrek 9718ea68dd sampling in random hemisphere 2021-04-25 13:50:39 +02:00
Piotrek 8585f21c70 HitResult and Ray structs. random function. 2021-04-24 23:33:33 +02:00
Piotrek e390b6ed9b added wall 2021-04-24 22:24:10 +02:00
Piotrek d194337520 pseudo skybox 2021-04-24 21:34:47 +02:00
Piotrek 61ec3e5a21 shadows 2021-04-24 20:47:04 +02:00
Piotrek 00fd077642 grass? testing 2021-04-24 17:17:09 +02:00
Piotrek 97ece7a823 materials, brick and nodes structure, preparing for world generation 2021-04-24 17:06:44 +02:00
Piotrek 829ae1ddb6 fixed negative distance in voxel traversing 2021-04-23 22:44:03 +02:00
Piotrek 526ff05ed2 testing 32x32x32 nodes world 2021-04-23 22:15:14 +02:00
Piotrek 6239e145e9 allocating array on heap 2021-04-22 23:25:35 +02:00
Piotrek 5e968d0a30 aspiojsanfopinaogpinhaeogfl 2021-04-19 23:28:20 +02:00
Piotrek 3fb2557a30 using bytemuck for node buffer 2021-04-19 22:23:01 +02:00
Piotrek 5e8068705a getting subnode id 2021-04-18 23:02:17 +02:00
Piotrek 3e94e5d2cf basic phong lighting 2021-04-18 13:09:04 +02:00
Piotrek 20ac933cc3 working 3d textures 2021-04-18 12:00:28 +02:00
Piotrek 4f24394273 wip: creating 3d texture node buffer 2021-04-17 15:52:29 +02:00
Piotrek 7a1821643c moved buffer stuff to a separate module 2021-04-17 14:55:04 +02:00
Piotrek 70bb7a3e6e camera rotation 2021-04-13 23:14:46 +02:00
Piotrek c2953a1443 using view projection matrix 2021-04-12 22:23:20 +02:00
Piotrek 06ddea2d59 added camera struct 2021-04-12 22:11:24 +02:00
Piotrek a661783e7a cleaned up new() function 2021-04-12 22:00:24 +02:00
Piotrek a5a82e5b46 texture struct 2021-04-12 21:15:56 +02:00
Piotrek 5b8896540b added rick 2021-04-12 20:42:24 +02:00
Piotrek be288b1fd9 changed vertex_color to vertex_uv 2021-04-12 20:22:18 +02:00