Commit graph

58 commits

Author SHA1 Message Date
5c1ce809ff
render: get some lights showing up with tiled forward rendering
For some reason there's weird square in the light source, and the dynamic light is only applied to the top left tile
2024-03-17 15:20:17 -04:00
c73c1a7f43
render: fix segfault in LightCullCompute 2024-03-16 22:58:38 -04:00
1818a0b48b
position the camera in a good position in the scene 2024-03-16 18:50:22 -04:00
aa3a4a17d7
resource: implement waiting for resource dependencies to be loaded 2024-03-10 00:11:15 -05:00
1c29e6fa72
cleanup some simple compiler warnings 2024-03-09 00:48:23 -05:00
5331cfc2c4 resource, render: load in texture sampler from gltf and use them in the renderer 2024-03-09 00:46:42 -05:00
fba925512b render: process GltfScenes and Node local transforms 2024-03-09 00:46:42 -05:00
70fecc8cdd
fixes across crates after changes to ecs 2024-03-02 22:55:13 -05:00
de4fb76f31
scripting: update for elua and new wip support for teal 2024-02-28 21:10:52 -05:00
aadc8e5094
scripting: expose all other ActionHandler methods to Lua 2024-02-25 20:53:20 -05:00
d0179cda69
scripting: get FreeFlyCamera working with ActionHandler created by Lua 2024-02-25 17:42:14 -05:00
5521d4a659
scripting: start work on exposing InputActions to lua, implement inserting reflected resource 2024-02-25 17:06:53 -05:00
388f686917
scripting: create FN_NAME_INTERNAL_AS_COMPONENT for implicitly converting some types as components 2024-02-24 15:27:01 -05:00
6731fcd7f2
scripting: implement spawning entity with loaded 3d models 2024-02-24 14:32:06 -05:00
90b821f95c
scripting: implement loading assets in lua 2024-02-24 11:16:09 -05:00
1f43a9d4da
fix compiler errors after some changes to game crate 2024-02-23 16:43:23 -05:00
e354528942
scripting: Implement LuaVec3:move_by, and add more methods for Lua on math types 2024-02-19 23:14:38 -05:00
e6b4e83dee
scripting: fix math type wrapper macro for lua. Expose math types as userdata through LuaProxy trait 2024-02-19 17:57:48 -05:00
ea958f9f18
scripting: convert LuaDeltaTime into a Lua Number instead of using it as userdata 2024-02-19 11:27:49 -05:00
20a36795dc
scripting: update elua, change test lua script 2024-02-17 19:08:11 -05:00
4247c4f5c1
scripting: switch to elua, create LuaTableProxy for proxying rust types into and from lua tables 2024-02-17 14:27:16 -05:00
e88758f59d
scripting: expose resources to the world 2024-01-20 00:54:36 -05:00
db77ca4388
scripting: lua script auto-reloading 2024-01-15 23:22:21 -05:00
e5599e1d27
scripting, ecs: expose Transform to lua, update component ticks on changes from lua 2024-01-13 11:52:20 -05:00
e49d69dbc1
scripting: update scripts on all game stages, create utility api provider
Some checks failed
ci/woodpecker/push/debug Pipeline failed
2024-01-07 00:57:19 -05:00
13ad671a55
scripting: update lua scripts on 'update' stage 2024-01-06 23:06:00 -05:00
ac24d1f913
Fix querying resources in fn systems, create CommonActionLabels, more code cleanup of free fly camera 2024-01-06 21:38:21 -05:00
265752ee76
Free fly camera code cleanup 2024-01-06 20:37:23 -05:00
22b582c3f8
Implement axises to input actions, use input actions with the free fly camera 2024-01-06 20:15:54 -05:00
9307265a5a
Implement staged system execution, make it easier to add systems, remove some compiler warnings 2024-01-06 15:40:13 -05:00
6caf235a6f
Add early scripting system with lua
Some checks failed
ci/woodpecker/push/debug Pipeline failed
2024-01-04 20:52:47 -05:00
10fc7842cf
Fix a painful amount of compiler warnings, and clippy warnings 2023-12-28 21:30:45 -05:00
09bba5b3b3
Switch to lyra-ecs systems, move ecs mod to scene mod, reexport lyra-ecs as ecs 2023-12-26 23:48:46 -05:00
2805399fe4
Switch to use lyra-ecs 2023-12-26 14:12:53 -05:00
66ec18eade
Add dir for luberyard-bistro example scene
This scene is massive when exported to gltf (.glb), about 1.5GBs. I need to write an fbx loader
2023-12-21 17:35:38 -05:00
104649d574
Implement spot lights and directional lights 2023-12-21 17:35:37 -05:00
e412e589d1
Prototype implementation of specular maps 2023-12-21 17:35:30 -05:00
039e99281a
Fix issues with the normal matrix 2023-12-21 17:31:04 -05:00
6826d43c8b
Switch to desktop
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-11-15 19:47:22 -05:00
65467c5032
Add normal matrix for lighting, fix render multiple entities that use same model 2023-11-12 14:56:59 -05:00
aa79ace401
Get multiple light sources working
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-11-10 17:52:11 -05:00
d26e1ccfb4
Create a PointLight component for light position
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-11-10 12:28:17 -05:00
e95a45fd53
Implement a single point light with blinn-phong lighting 2023-11-10 09:14:18 -05:00
8d6e675c82
Implement a decent first pass of the input action system
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This still needs some work, mostly just names of things and finding a better way to add the InputActionPLugin and ActionHandler
2023-11-05 22:50:57 -05:00
75c0377d9c
Create structs for the input actions
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-11-04 11:34:27 -04:00
b9b2c9f8e7
Finish fixed rate transform interpolation for the renderer
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-11-03 19:50:00 -04:00
1b723cc30b
Attempt to interpolate transforms in the renderer
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-10-31 14:28:22 -04:00
31799cae05
Some code cleaup of the renderer file
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-10-29 21:01:58 -04:00
6b935739ef
Add system criteria
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-10-29 17:54:04 -04:00
927566ca3d
Add delta time, use it in the free fly camera
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-10-26 22:26:13 -04:00