Commit graph

11 commits

Author SHA1 Message Date
Light
eb00566953 Implemented ShaderConductor into Shaders
- glShader now uses ShaderConductor and compiles from .hlsl files
- Added Shader::Stage enum
- Removed .glsl files
- Improvements to CMakeLists files
- Maintenance
2021-09-13 12:17:26 +04:30
Light
42f26ac59e Maintenance
- Added LIGHT_OPENGL_ENABLE_SHADER_INFO_LOG to config.h
- Some maintenance
2021-08-01 11:57:51 +04:30
Light
9033ceffa1 Major changes
- Major maintenance
2021-07-29 17:12:13 +04:30
Light
b54afb6046 Added EnTT
- Added EnTT
- Minor maintenance and fixes
2021-07-24 13:54:50 +04:30
Light
b8ca0099cb Camera
- Added 'Camera'
- Added 'SetuniformMat4' to the 'Shader' , this is a temporary solution
- Added u_ViewProjection to glsl shaders

- Fixed 'Application's' placeholder delta time
- Fixed glfwKeyEvent returning KeyReleasedEvent on GLFW_REPEAT

- Note: Camera is not supported for DirectX for the time being due to hlsl not
       supporting uniforms like glsl
2021-07-05 01:59:18 +04:30
Light
2ab97d3863 Major Maintenance
- Major tidying
- Moved 'RendererProgram' classes out of the 'Renderer' class
- Moved 'RenderCommand' member variable out of 'GraphicsContext' and into
       the 'Renderer' class as a unique_ptr. results in 'Renderer' taking a
       windowHandle for construction
- Defined new macros for max quads in 'Renderer.h'
- Added the 'Stringifier' to 'Base.h'
- Added the 'ResourceManager' to the 'LightEngine.h'
- Application now logs the current file directory
- Fixed the forward declaration in GraphicsContext
- Fixed the debug break in Base.h
- Fixed 'dxShader' not logging compile errors
- 'glVertexLayout' now takes in a shared_ptr for 'VertexBuffer'
- 'glShader' now logs the shader compilation errors properly
- 'dxVertexLayout' now takes in a shared_ptr for 'Shader"
- Modified 'dxSharedContext' members to be private and made getters for them
- 'dxRenderCommand::SwapBuffers' now throws dxException for
       DXGI_ERROR_DEVICE_REMOD error
2021-07-01 19:25:46 +04:30
Light3039
a682523076 Initial Linux Support 2021-06-26 13:09:11 +04:30
Light
fcfe73923d Major changes
- Major tidying
- Some fixes
-
2021-06-19 15:12:42 +04:30
Light3039
752258366d FileManager 2021-05-31 19:09:27 +04:30
Light3039
f511f6d771 First Triangle! 2021-05-30 16:45:54 +04:30
Light3039
f3fe4c3713 Assertion 2021-05-27 19:54:05 +04:30