Brandon Mak
53fc1fce95
WIP
2022-11-01 12:10:15 +08:00
Brandon Mak
5852c409e6
SSAO WIP
2022-11-01 11:57:08 +08:00
Brandon Mak
54a36e1476
SSAO WIP
2022-11-01 02:32:14 +08:00
Brandon Mak
53b9c8f746
SSAO WIP
2022-10-31 23:28:46 +08:00
Brandon Mak
441207260b
shmeta
2022-10-31 20:49:49 +08:00
Brandon Mak
2bd3b45ba0
SSAO sort of working
2022-10-31 20:49:28 +08:00
Brandon Mak
94a57219da
Created CPU and GPU data for SSAO
...
Renderpass for SSAO not yet done (that's next)
2022-10-31 10:32:32 +08:00
Brandon Mak
997ce3011a
Screw you SPIRV-Reflect and screw you GLSL
...
- Pipeline layouts now have a parameter to decide if a binding with a buffer descriptor stores a dynamic type instead.
- SHRenderGraphNodeCompute has catered for this as well through its ctor params
2022-10-30 23:15:52 +08:00
Brandon Mak
647182241e
Fixed a buy with view space lighting calculations
2022-10-30 19:21:02 +08:00
Brandon Mak
39b5ac0774
LIGHTING NOW DONE IN VIEW SPACE
2022-10-30 16:52:40 +08:00
Brandon Mak
96112e5251
Merge remote-tracking branch 'origin/SP3-16-Math' into SP3-1-Rendering
2022-10-30 16:37:38 +08:00
Brandon Mak
4711a131eb
Shifted the lighting system run outside the viewport loop.
...
- Since lighting is only calculated in the world render graph for now, this will do just fine
- Renderer takes in a view and projection matrix and does the transpose of the multiplication in the renderer
2022-10-30 16:35:55 +08:00
Diren D Bharwani
03c0d10014
Fixed bug where objects without transform causes a crash on reparenting
2022-10-30 15:10:39 +08:00
Diren D Bharwani
605ff9710d
Added Matrix * Vec4
2022-10-30 14:37:30 +08:00
Diren D Bharwani
54b7fa7cd3
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-10-30 14:32:09 +08:00
Brandon Mak
fad9d37cd4
Lighting data is now copied to CPU buffer and GPU buffer every frame
...
Since lighting will be done in view space, the camera's constant movement will make it so that the light data is often changing. Keeping track of these changes for optimization might prove to be counter productive. Copying data every frame might just be more ideal.
2022-10-30 14:17:36 +08:00
Brandon Mak
94f579e8e3
CompileAsset function from Asset manager is working
2022-10-30 13:25:15 +08:00
Brandon Mak
7b769057a2
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-30 13:18:15 +08:00
Xiao Qi
087cbcabaf
Forgot function to actually retrieve root folder pointer hehe
2022-10-30 04:41:24 +08:00
XiaoQiDigipen
ffc55c5e0c
Filesystem builds directory tree of asset folder to show all files and subfolders
2022-10-30 04:40:02 +08:00
Xiao Qi
2ebcd3fd47
Filesystem builds directory tree of asset folder to show all files and subfolders
2022-10-30 04:39:16 +08:00
XiaoQiDigipen
06ab0e1fb9
Merge pull request #131 from SHADE-DP/SP3-13-Assets-Manager
...
SP3-13 Assets Management
Added Scene, Prefab, Material loaders and savers
Added function to compile single asset, currently only for shaders
Changed vector to unordered_map to store asset meta classes
2022-10-30 03:10:10 +08:00
Xiao Qi
d3b44f9c22
Merge branch 'main' into SP3-13-Assets-Manager
2022-10-30 03:08:36 +08:00
Xiao Qi
00d4d5d910
Removed code that accidentally calls delete on freed memory for asset loaders
2022-10-30 03:06:18 +08:00
XiaoQiDigipen
ad19cd145d
Merge pull request #130 from SHADE-DP/SP3-6-c-scripting
...
Fixed script error and added support for static functions in CallbackAction
2022-10-30 02:57:05 +08:00
XiaoQiDigipen
b0b9b3eebf
Merge pull request #129 from SHADE-DP/SP3-1-Rendering
...
Ambient and directional lighting implemented
Also solved some bugs
2022-10-30 02:56:29 +08:00
Kah Wei
47df3efae3
Merge branch 'main' into SP3-6-c-scripting
2022-10-30 02:38:31 +08:00
Kah Wei
da05cb3edc
Fixed script error and added support for static functions in CallbackAction
2022-10-30 02:37:58 +08:00
Brandon Mak
b46b6b0b85
CompileAll uncommented and asset manager metadata writes commented
...
SHmeta files should now be identical to what's on main
Shaders themselves have some changes (binaries also updated)
2022-10-30 00:25:49 +08:00
Brandon Mak
5db9299699
Reverted back to old asset IDs
2022-10-30 00:07:02 +08:00
Brandon Mak
7c5a24b8e1
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-30 00:00:17 +08:00
Brandon Mak
5da7638c0a
Compute barriers
2022-10-29 22:52:15 +08:00
Brandon Mak
6f2ca54f7e
WIP compute barriers
2022-10-29 21:36:11 +08:00
Brandon Mak
25db4db99a
Catered to light comp deletion and solved minimize bugs
...
Editor can also now shift the viewport around without Vulkan vomiting validation layers
2022-10-29 17:00:35 +08:00
Xiao Qi
70533b1712
Changed Application exit call to asset manager
2022-10-29 15:53:15 +08:00
Xiao Qi
c71a84cc59
Simple file deletion
2022-10-29 15:50:26 +08:00
Xiao Qi
219492dedd
Changed asset collection from vector to unordered_map for better id col check
...
Reduce use of for loops to iterate through asset collection
2022-10-29 15:36:34 +08:00
Xiao Qi
270205b0ba
Added line to write asset meta into file when saving
...
Does check for data write before saving
2022-10-29 14:50:44 +08:00
Xiao Qi
0182c90a21
Interface to create and save new assets that are internal: Prefabs, Scenes, Materials
2022-10-29 14:42:38 +08:00
Xiao Qi
cd62dbbb25
Material WIP
2022-10-29 11:58:14 +08:00
XiaoQiDigipen
6477617b1b
Merge pull request #128 from SHADE-DP/SP3-6-c-scripting
...
Added Renderable, Mesh, Material and Asset Interface for C#
2022-10-29 02:33:36 +08:00
Kah Wei
dbf1b0b8de
Merge branch 'main' into SP3-6-c-scripting
...
# Conflicts:
# SHADE_Managed/src/Components/Collider.hxx
2022-10-29 02:32:21 +08:00
Kah Wei
19dc999e4f
Added full implementation of Renderable script interface
2022-10-29 02:19:36 +08:00
Xiao Qi
22b0a2f97b
Changed tabs/spacing
2022-10-28 21:20:59 +08:00
Xiao Qi
6ce143665a
Added scene and prefab asset classes
...
Added scene and prefab text based loaders
Added write functions to all asset loaders to overwrite data
2022-10-28 20:48:50 +08:00
Kah Wei
9617ed3838
Added NativeAsset, Material and Mesh representations along with a stub for Renderable
2022-10-28 19:23:40 +08:00
Xiao Qi
017cbf90c5
Changed filesystem interface in preparation for asset browser functionalities
2022-10-28 19:07:48 +08:00
Kah Wei
7e5c819813
Fixed warning with Collider not being made abstract
2022-10-28 19:03:07 +08:00
Kah Wei
541f44c039
Fixed bugs in SHMaterial, SHMeshLibrary and removed unused functions in SHTextureLibrary
2022-10-28 19:02:54 +08:00
Kah Wei
199897adb4
Added GenericHandles to SHADE_Managed
2022-10-28 19:02:26 +08:00