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
Sri Sham Haran
fa6e3cf1df
Light Component Serialization & Inspector
2022-10-28 17:58:16 +08:00
Brandon Mak
f110f9b16b
Removed isActive from component
2022-10-28 15:56:22 +08:00
Brandon Mak
baa77e5d37
setter for culling mask
2022-10-28 14:10:08 +08:00
Brandon Mak
5ab2ebbff4
Getters for light
2022-10-28 13:54:46 +08:00
Brandon Mak
0cab0107b2
Fixed minimizing by resetting command pools and fences
2022-10-27 19:37:05 +08:00
Brandon Mak
09c5843cdb
Ambient lighting added
2022-10-27 19:02:55 +08:00
Brandon Mak
b7b3ef08ab
Some lighting fixes
2022-10-27 11:31:11 +08:00
Brandon Mak
da3edb2b6b
Working abit more now. Error with device extension thingy.
2022-10-27 02:46:38 +08:00
Brandon Mak
ae88c70936
Lighting shader kind of done (still has bugs)
2022-10-27 02:28:38 +08:00
Brandon Mak
6e9f54987f
Prepared light global desc set layout data and render graph resources
...
- Fixed material padding
- Lighting desc sets now have a buffer at binding 0 to store light counts.
- Added position, normals, albedo resources in render graph
2022-10-26 22:40:04 +08:00
Brandon Mak
43ea33cabf
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-26 15:26:41 +08:00
Brandon Mak
5637fb707f
Tested light component. Values reflected in renderdoc correctly
...
- Added pure copy compute shader (used instead of kirsch)
- Created sparse set for lights
- Note that while the instanced attribute contains both EID and layer light index and in the future potentially more, the objects still write to a uint framebuffer.
- Light layer index is in a different frame buffer than the eid one.
- Updated shaders to accommodate light layer index.
2022-10-26 02:14:43 +08:00
Brandon Mak
4b7a837469
Fixed some bugs in render graph
...
- Changed the eid buffer for instanced rendering to a vec2 (potentially vec3 or 4), to pass other types of data like light layer index.
- Renamed some render graph nodes and subpasses. Added a dummy render pass to transition the scene to read only optimal.
- offscreen buffer resource now transitions to eShaderReadOnlyOptimal instead of eGeneral
2022-10-26 01:08:02 +08:00
Brandon Mak
5016600397
Lights WIP
2022-10-25 23:39:35 +08:00
XiaoQiDigipen
a1b0e95123
Merge pull request #118 from SHADE-DP/SP3-4-editor_fix
...
Asset Browser Ver. 0 and New default layout
Editor widget tweaks
Anything else i added i cant rmb
2022-10-25 21:04:35 +08:00
Sri Sham Haran
534aeba06b
Latest Default Layout
2022-10-25 20:59:32 +08:00
Sri Sham Haran
6d9a8e484c
Asset browser
2022-10-25 20:55:46 +08:00
Brandon Mak
0395df5c63
Lights WIP (bug fixes)
2022-10-25 19:59:16 +08:00
Sri Sham Haran
393422a0a3
Merge branch 'main' into SP3-4-editor_fix
2022-10-25 19:48:08 +08:00
Glence
d1d64ec167
added tooltips for the rest of the widgets
2022-10-25 18:48:45 +08:00
XiaoQiDigipen
3486da7a7a
Merge pull request #117 from SHADE-DP/Fix-SamplerCrash
...
Added proper deletion of VKSamplers
2022-10-25 17:42:29 +08:00
Kah Wei
416c571fd2
Added proper deletion of VKSamplers
2022-10-25 17:40:13 +08:00
Sri Sham Haran
0acd6a99a4
Tweaks to editor widgets
2022-10-25 17:08:15 +08:00
XiaoQiDigipen
82f9499f5d
Merge pull request #116 from SHADE-DP/EditorConfig
...
Added .editorconfig to enforce 2-spacing indentation
2022-10-25 15:42:31 +08:00
Kah Wei
da167ec3a5
Added .editorconfig to enforce 2-spacing indentation
2022-10-25 15:39:18 +08:00
XiaoQiDigipen
7c35d2955b
Merge pull request #115 from SHADE-DP/Fix-IncorrectMDI
...
Fixed instanced rendering the wrong number of instances
2022-10-25 15:20:50 +08:00
Kah Wei
9f98bed4d1
Fixed batching renedering the wrong number of instances
2022-10-25 15:11:01 +08:00
Sri Sham Haran
dfdd477a37
Merge branch 'main' into SP3-4-editor_fix
2022-10-25 15:10:20 +08:00
XiaoQiDigipen
be9f55ec6b
Merge pull request #114 from SHADE-DP/Fix-RenderableDeleteCrash
...
Fixed deletion crash caused by Renderables
Can delete after merge.
2022-10-25 14:43:35 +08:00
Kah Wei
b059385c8b
Merge branch 'main' into Fix-RenderableDeleteCrash
2022-10-25 14:33:03 +08:00
Kah Wei
c2e51dc603
Fixed deletion crash caused by Renderables
2022-10-25 14:31:28 +08:00
XiaoQiDigipen
e384a520ef
Merge pull request #113 from SHADE-DP/SP3-16-Math
...
SP3-16 Updated SHADE Managed Math & Transform
NEW
Quaternions in SHADE Managed
UPDATES
All Math in managed are using floats instead of doubles
Managed Transform Components store Rotations as Quaternions. Euler angles are stored separately.
2022-10-25 14:09:06 +08:00
Brandon Mak
869916cb2a
Lights WIP
2022-10-25 13:47:27 +08:00
Brandon Mak
8fb0eddcc1
Lights WIP
2022-10-25 00:00:22 +08:00
Diren D Bharwani
ff025f212c
Added Euler Angles properties to Managed Transforms
2022-10-24 22:41:36 +08:00
Diren D Bharwani
24c591ec27
Modified Managed Transform Interface to use Quaternions
2022-10-24 20:07:59 +08:00
Sri Sham Haran
26eb4ad18c
Fix command registrations and mouse pick polling when using transform gizmo
2022-10-24 16:18:18 +08:00
Diren D Bharwani
c34faade86
Converted doubles to floats in SHADE Managed. Added Quaternions.
2022-10-24 02:45:47 +08:00
Diren D Bharwani
46de36d587
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-10-23 23:45:17 +08:00
XiaoQiDigipen
23b8b66297
Merge pull request #112 from SHADE-DP/SP3-16-Math
...
SP3-16 Quaternions
NEW
Added implementations for Quaternion LookRotation, FromToRotation, Slerp, Lerp and RotateTowards
Transform now stores orientations instead of euler angle rotations. Transform Component interface unchanged.
Added Orientation getters and setters to Transform Component.
2022-10-23 20:07:17 +08:00
Diren D Bharwani
57f9898e07
Finished quaternion implementation
2022-10-23 20:03:18 +08:00
Diren D Bharwani
bf0c068cc7
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-10-23 18:23:06 +08:00
Diren D Bharwani
e15f7696e6
Rotations are stored as radians to reduce the number of conversions
2022-10-23 18:22:58 +08:00
XiaoQiDigipen
5f73e8d1c0
Merge pull request #111 from SHADE-DP/SP3-13-Assets-Manager
...
Restructured Asset Manager with Generalised Template Types for Asset Data
All asset types are derived from asset type for casting and storing to facilitate general GetData function
2022-10-23 17:21:17 +08:00
Xiao Qi
f9a28c81d4
Fixed vulkan breaking error
2022-10-23 17:18:46 +08:00
Xiao Qi
4019b4914c
Merge branch 'main' into SP3-13-Assets-Manager
2022-10-23 17:08:37 +08:00
Brandon Mak
0788084bbd
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-23 16:59:16 +08:00