Commit Graph

38 Commits

Author SHA1 Message Date
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 2d14a6011d Add include to platform_utils.h to load_texture 2024-08-20 00:52:09 -04:00
Jack Christensen d144434f59 Refactor fbo to make for functional, less OOP 2024-08-20 00:47:41 -04:00
Jack Christensen 25147837fc Add load_texture 2024-08-20 00:47:03 -04:00
Jack Christensen 6f2c239094 Testing include of FreeImage 2024-08-19 15:48:55 -04:00
Jack Christensen 513fc61d34 Add test loop in main.cpp 2024-08-19 10:43:07 -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 f63a3b1ab6 Renamed callbacks_tmp back to callbacks 2024-08-18 22:29:54 -04:00
Jack Christensen d36beaacdc Temporarily rename callbacks to callbacks_tmp 2024-08-18 22:29:21 -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 294c2f3c85 Add option for geometry shader in initial pass 2024-08-17 19:09:48 -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 0e348944b1 Make some indentations concistent 2024-08-13 18:09:49 -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 75e9b1ea63 Add title comment for some reason 2024-08-12 17:56:29 -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