Commit Graph

35 Commits

Author SHA1 Message Date
Jack eb1e2a0ba8 Resize viewport keeps propper aspect
TODO keep correct aspect when resizing main window
2024-08-26 10:55:54 -04:00
Jack Christensen 1b10e2fed6 Update uniform handling 2024-08-26 03:32:58 +00:00
Jack 0b3c7b0f74 Add TIFF import
Completed LoadTexture() to allow for TIFF files and loaded the color texture to the shaders. Some minor changes to the fragment shaders, but nothing major.
2024-08-25 16:31:01 -04:00
Jack Christensen d2e859d35b Test FreeImage inclusion 2024-08-22 16:50:38 -04:00
Jack Christensen 59bd0c30b1 Add camera controls 2024-08-21 17:14:35 -04:00
Jack Christensen e3a67c6d00 Add anonymous namespace and add bind and unbind functions to fbo file 2024-08-20 01:35:19 -04:00
Jack Christensen ca26a4f068 Got rid of load_texture due to errors 2024-08-20 01:01:41 -04:00
Jack Christensen d144434f59 Refactor fbo to make for functional, less OOP 2024-08-20 00:47:41 -04:00
Jack Christensen 6f2c239094 Testing include of FreeImage 2024-08-19 15:48:55 -04:00
Jack Christensen 229271fe0f Add run test to make sure program actually runs 2024-08-19 08:36:42 -04:00
Jack Christensen a7ffc45718 Removed redundant shader initialization 2024-08-18 22:34:22 -04:00
Jack Christensen c8e19a6d12 Get callbacks to work with Scene class 2024-08-18 22:26:33 -04:00
Jack Christensen 514b05120a Rename PlatformUtils.h -> platform_utils.h, Callbacks.h and Callbacks.cpp -> callbacks.h and callbacks.cpp 2024-08-18 22:00:51 -04:00
Jack Christensen 9408344349 Add normal to deferred shading setup 2024-08-17 19:40:42 -04:00
Jack Christensen 0362632222 Fix depth test and transparent background bug in FBO 2024-08-17 19:10:41 -04:00
Jack Christensen 2f4de89791 Add position output for deferred rendering 2024-08-17 19:08:11 -04:00
Jack Christensen 025f442686 Add slider for tessellation factor 2024-08-17 19:05:05 -04:00
Jack Christensen a45473c77e Add dynamic patch grid resolution 2024-08-17 12:25:42 -04:00
Jack Christensen 5212d5aa19 Displacement working with normals 2024-08-16 00:15:26 -04:00
Jack Christensen 05ecd9b4be Refactor tessellation shader pipeline 2024-08-15 13:53:52 -04:00
Jack Christensen bc8d855098 Typo in scene.h and some cleanup 2024-08-15 01:09:37 -04:00
Jack Christensen cba45bdecf Can import .hgt files. TODO refactor 2024-08-15 00:56:29 -04:00
Jack Christensen 136b5cab9c Move PVM matrix multiplication from vertex to tessellation eval shader 2024-08-14 19:14:43 -04:00
Jack Christensen b2450d4ca5 Switch triangle for tessellated quad patch with tess shaders 2024-08-14 18:04:06 -04:00
Jack Christensen 250c108e97 Implement HDR and gamma correction in post shader pass 2024-08-14 16:40:51 -04:00
Jack Christensen 7060c08217 Refactor, setup FBO, and render into ImGui window 2024-08-14 02:16:53 -04:00
Jack Christensen 74ac6aec9a Create const variables for window dimensions 2024-08-13 17:58:49 -04:00
Jack Christensen 590982cde3 Add FBO class. Still need to add functionality 2024-08-13 17:47:16 -04:00
Jack Christensen 07eb172464 Refactorize and started shader pipline 2024-08-13 16:25:56 -04:00
Jack Christensen 4575698c55 DebugBreack() -> DEBUG_BREAK() in scene.cpp 2024-08-12 22:00:57 -04:00
Jack Christensen dcd82ae202 Create PlatformUtils.h to handle cross platform compatibility 2024-08-12 21:55:08 -04:00
Jack Christensen 8ff81a064a Add more files from VS_Template 2024-08-12 21:40:28 -04:00
Jack Christensen 229616687b Typo in #include "scene.h" 2024-08-12 17:20:14 -04:00
Jack Christensen dc89084bf3 Get ImGui docking working 2024-08-11 21:20:17 -04:00
Jack Christensen 535acecc32 Rename directories headers->include | src->source 2024-08-11 15:09:37 -04:00