Kah Wei
65c67c14b7
Fixed crash if no textures were loaded
2022-09-27 14:11:56 +08:00
Kah Wei
e9496bead6
Fixed bug where different Renderables of different meshes are thrown into the same SubBatch
2022-09-27 13:43:59 +08:00
Brandon Mak
187329c384
Fixed texture issues
2022-09-27 12:02:06 +08:00
Kah Wei
3e2bcf28b6
Added texture loading that is almost working
2022-09-26 20:59:20 +08:00
mushgunAX
3b0ea251f3
mouse wheel delta poll
2022-09-26 18:08:59 +08:00
Kah Wei
a06c30266e
Merge branch 'main' into SP3-1-Rendering
2022-09-26 17:56:30 +08:00
Kah Wei
5ac90eebec
Fixed compilation errors
2022-09-26 17:26:33 +08:00
Kah Wei
927944d55a
Merge branch 'SP3-1-Rendering' of https://github.com/SHADE-DP/SHADE_Y3 into SP3-1-Rendering
2022-09-26 17:18:55 +08:00
Kah Wei
d938007d8a
Added TextureLibrary updating of descriptor sets
2022-09-26 17:18:51 +08:00
Kah Wei
5e7ffd6028
Added SHVkSampler and SHVKSamplerCache
2022-09-26 16:41:57 +08:00
Brandon Mak
0a024e1b2d
Separated render graph contents into separate files
2022-09-26 14:49:48 +08:00
Sri Sham Haran
247930ea68
Merge branch 'main' into SP3-4-editor_fix
2022-09-26 14:04:02 +08:00
Brandon Mak
9fe5793dd7
Split the render graph into multiple files
...
doesn't compile
2022-09-26 09:37:59 +08:00
Brandon Mak
6d68e6cb5e
FIXED MY SHIT WHEE
...
(render graph color present attachment now have correct layout)
2022-09-26 00:38:36 +08:00
Kah Wei
a5c804ca8b
Fixed SHRenderGraph not moving the batcher
2022-09-26 00:08:32 +08:00
Brandon Mak
8649833604
subpass not null anymore
2022-09-25 23:45:05 +08:00
Brandon Mak
dc6289e8cf
WIP
2022-09-25 23:25:51 +08:00
Brandon Mak
8ac2c39e2b
Fixed some render graph ctors and added if checks for buffers
2022-09-25 23:13:37 +08:00
Kah Wei
fc5ff763f3
Added SHMaterialInstanceCache
2022-09-25 22:55:14 +08:00
Sri Sham Haran
335c19cfc7
Editor
2022-09-25 22:33:07 +08:00
Kah Wei
a197ae842c
Fixed crash on AMD GPUs resulting from Nvidia treating UniformBuffers and UniformBuffersDynamic as the same
2022-09-25 21:46:57 +08:00
Kah Wei
15f12a2608
Fixed warnings in SHBatch.cpp
2022-09-24 02:13:09 +08:00
Kah Wei
759c87e2a1
Material data on the GPU is now updated when material data changes
2022-09-24 02:07:47 +08:00
Brandon Mak
32278e1564
Merge remote-tracking branch 'origin/SP3-1-Rendering' into SP3-1-Rendering
2022-09-23 18:50:52 +08:00
Brandon Mak
bd54b16e01
Ctor for compute pipelines
2022-09-23 18:50:40 +08:00
Kah Wei
bb38246111
Added stress test code for 20000 objects
2022-09-23 18:49:04 +08:00
Kah Wei
77cccd63be
Renderables now use TransformComponent's matrix
2022-09-23 16:41:44 +08:00
Kah Wei
23f0f9f77e
Triple buffered the batching buffers
2022-09-23 16:24:35 +08:00
Kah Wei
5c4384b589
Fixed SHVkBuffer initial copy data for mapped buffers and made the cube spin
2022-09-22 20:53:03 +08:00
Kah Wei
c4ab45ad34
Merge branch 'main' into SP3-1-Rendering
...
# Conflicts:
# SHADE_Application/src/Scenes/SBTestScene.cpp
# SHADE_Application/src/Scenes/SBTestScene.h
# SHADE_Engine/SHADE_Engine.vcxproj
# SHADE_Engine/SHADE_Engine.vcxproj.filters
2022-09-22 20:51:33 +08:00
Kah Wei
495d2b4b66
Added per-frame update of gpu transforms buffer
2022-09-22 20:04:53 +08:00
Brandon Mak
cb31628e66
Dummy pipeline layout ctor created
...
Renderer now can update and bind descriptor set
2022-09-22 19:38:43 +08:00
Kah Wei
f28d966ebb
Merge branch 'SP3-1-Rendering' of https://github.com/SHADE-DP/SHADE_Y3 into SP3-1-Rendering
2022-09-22 12:40:25 +08:00
Kah Wei
e87c4c8dc8
Fixed SHTextureLibrary compiler errors
2022-09-22 12:39:05 +08:00
Brandon Mak
1290e99dda
Merge remote-tracking branch 'origin/SP3-1-Rendering' into SP3-1-Rendering
2022-09-22 12:12:47 +08:00
Brandon Mak
7ddf665460
Updated Descriptor sets
...
Descriptor set layouts now have set index stored in them
It should be noted that when passed into a pipeline layout as global descriptor sets, these don't matter since the pipeline layout will use these in the order that they are passed in.
2022-09-22 12:12:44 +08:00
Brandon Mak
ba181eb9c9
Shifted Command buffers outside of render graph
...
Command buffers now exist in renderer instead
Graphics system that calls the renderer, begins and ends the renderer recording in it's main loop as well
2022-09-22 09:23:40 +08:00
Kah Wei
3d9abcf19c
Implemented image creation for textures in the texture bank
2022-09-22 09:19:18 +08:00
Xiao Qi
d2e2e85726
Added build path ignore
...
Readded output dir and removed interdir from premake
Added DEBUG guards in SHVkPhysicalDeviceLibrary when using SHLOG_TRACE
2022-09-21 22:54:15 +08:00
Kah Wei
791c4cd0d0
Merge branch 'SP3-1-Rendering' of https://github.com/SHADE-DP/SHADE_Y3 into SP3-1-Rendering
2022-09-21 20:03:03 +08:00
Brandon Mak
8d2b6aec46
Descriptor set fix and camera descriptor set
...
Fixed SHVkDescriptorSetGroup bug with vkLayouts inside the ctor
Added descriptor set to renderer for camera
Logical Device now stores a buffer alignment variable for UBOs
2022-09-21 15:41:30 +08:00
Kah Wei
5f305f9609
Added SHTextureLibrary stub
2022-09-20 18:13:13 +08:00
Brandon Mak
c194765889
More warnings fixed. More graphics constants.
2022-09-20 16:12:47 +08:00
Brandon Mak
0bc3a23161
Fixed the fence with high quality wood
2022-09-20 14:15:09 +08:00
Brandon Mak
147292f91c
Fence is broken. The neighbour's kids went to knock it down again.
2022-09-20 12:15:06 +08:00
Brandon Mak
d9213fe35d
Moved a bunch of global data from Graphics System to new class
...
New class in SHGraphicsGlobalData
2022-09-20 10:39:52 +08:00
Brandon Mak
77330511ee
Fixed pipeline default color blend state
...
Remember to switch winding back to CCW after rendering in world space
2022-09-20 09:27:13 +08:00
Kah Wei
8ad0eee032
Fixed vertex data buffer being incorrect
2022-09-19 21:31:23 +08:00
Kah Wei
9e09896984
Fixed SHVkBuffer move and reworked batching buffers to be host visible
2022-09-19 20:15:39 +08:00
Kah Wei
4023b9d136
Added tests for rendering and fixed bugs with Batching system
2022-09-19 18:37:57 +08:00
Kah Wei
f408247007
Linked MeshLibrary to RenderGraph
2022-09-19 15:52:51 +08:00
Brandon Mak
d025abe43a
Render graph execution now takes in graph scope buffers
2022-09-19 15:32:03 +08:00
Kah Wei
8070b2dafa
Accounted for Shaders with no SHShaderBlockInterface
2022-09-19 00:11:57 +08:00
Brandon Mak
23fe51b483
Merge remote-tracking branch 'origin/SP3-1-Rendering' into SP3-1-Rendering
2022-09-19 00:04:42 +08:00
Brandon Mak
643efbe1bb
WIP
2022-09-19 00:00:07 +08:00
Kah Wei
b9185eab18
Added Mesh Registration Functions to SHGraphicsSystem and a SHGraphicsSystem compatible version of mesh generation functions for SHPrimitiveGenerator
2022-09-18 23:23:48 +08:00
Kah Wei
41daaaba9c
Added SHPrimitiveGenerator
2022-09-18 23:11:08 +08:00
Brandon Mak
28a5f8e4e5
Auto stash before merge of "SP3-1-Rendering" and "origin/SP3-1-Rendering"
2022-09-18 22:34:48 +08:00
Kah Wei
96ec1afcdd
Changed batching system to use SHRenderable* instead of handles
2022-09-18 17:02:02 +08:00
Brandon Mak
ec40754eb9
Render graph, graphics system and pipeline library changes lel
...
Solved errors
Graphics system AddMaterial now takes in a subpass
Pipeline library now stored in render graph node instead since pipelines have to be compatible with a renderpass.
Renderers now bind render graphs instead of storing them
2022-09-18 15:23:10 +08:00
Kah Wei
8c30e656f7
Modified AddMaterial() to take in a subpass
2022-09-18 14:58:32 +08:00
Kah Wei
7a126bf1fc
SHViewport now takes in a RenderGraph instead of creating one
2022-09-18 14:49:15 +08:00
Kah Wei
a3aa708b34
Fixed numerous template errors and warnings
2022-09-18 00:49:27 +08:00
Kah Wei
6e4d6abd1c
Fixed Handle<> include issues
2022-09-17 23:37:22 +08:00
Kah Wei
1c8a434b26
Added Batcher classes and fixed errors
2022-09-17 23:37:22 +08:00
Brandon Mak
c1a3a6acf1
Created global descriptor set layouts
2022-09-17 23:32:03 +08:00
Brandon Mak
bff27a7188
Added a bunch of KW's files for batching
...
Prepared Graphics system for merging with batcher
2022-09-17 22:29:22 +08:00
Sri Sham Haran
eb8cbaeebb
init vulkan for imgui
2022-09-16 16:40:42 +08:00
Brandon Mak
c1c5e70676
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-09-16 14:46:48 +08:00
Brandon Mak
a42a8b0c46
SH_API EVERYWHERE
2022-09-16 14:20:21 +08:00
Brandon Mak
eb975d96c6
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-09-16 14:08:36 +08:00
Brandon Mak
f0b9f19f4d
clear color value fix
2022-09-16 12:33:42 +08:00
Brandon Mak
169822c221
Render graph execution fixed
...
GetVkQueue function deleted. More specific function implemented (Present).
2022-09-15 09:16:13 +08:00
Brandon Mak
44e529f06f
Merge branch 'SP3-4-editor' into SP3-1-Rendering
2022-09-14 19:44:01 +08:00
Brandon Mak
7459e19846
Changes
2022-09-14 19:19:24 +08:00
Brandon Mak
5a1abe6530
Auto stash before merge of "SP3-4-editor" and "origin/SP3-4-editor"
2022-09-14 19:18:54 +08:00
Sri Sham Haran
fdc8a61c1d
Added SHWindow to SHImguiWindow
2022-09-14 16:01:40 +08:00
Kah Wei
cba3aa0663
Converted SHADE_Engine to a DLL project and exported common use classes
2022-09-13 21:08:13 +08:00
Brandon Mak
4ccfd399af
Renderpass execution and descriptor set writes
2022-09-13 19:46:51 +08:00
Brandon Mak
8f7d8cd8bc
Added vertex attributes
2022-09-13 09:13:39 +08:00
Brandon Mak
506d3a1c35
WIP
2022-09-12 20:08:01 +08:00
Brandon Mak
47e9e3d3f2
WIP
2022-09-11 22:34:55 +08:00
Brandon Mak
bf447c1d1d
Auto stash before merge of "SP3-4-editor" and "origin/SP3-4-editor"
2022-09-11 20:03:11 +08:00
Brandon Mak
09c1d2654d
WIP
2022-09-09 16:02:34 +08:00
Brandon Mak
361237ede1
GETTER FOR RENDER GRAPH
2022-09-09 14:38:09 +08:00
Brandon Mak
ae372f2917
Getter for renderpass in render node
2022-09-09 14:34:09 +08:00
Brandon Mak
d7954245d6
Created a descriptor pool for Graphics System
2022-09-09 14:21:13 +08:00
Brandon Mak
fe954271cb
Getter for queue
2022-09-09 14:02:48 +08:00
Brandon Mak
78f8a9e455
Getter for physical device
2022-09-09 13:55:00 +08:00
Brandon Mak
bed017e539
Fixed some warnings and premake files now include hpp files
2022-09-09 13:28:57 +08:00
Brandon Mak
fe6c5be8c6
Graphics System called in application
2022-09-09 11:20:38 +08:00
Brandon Mak
62c67909ee
Rendering Integration
2022-09-08 19:11:25 +08:00