Commit Graph

23 Commits

Author SHA1 Message Date
SeanOMik 0226819a46
Implement batched rendering with multiple textures 2022-08-18 11:34:05 -04:00
SeanOMik db94d85168 Add engine resources to store core shaders, create core shader class 2021-12-12 22:21:10 -05:00
SeanOMik 576d4030b8 Add specular lighting 2021-12-09 16:24:26 -05:00
SeanOMik 18f50d5420 Lighting was working the entire time, it was just the texture smh 2021-12-09 15:42:20 -05:00
SeanOMik b4ad64d5c5 Try to get some simple lighting working 2021-12-08 23:14:45 -05:00
SeanOMik 13e6b34243 Pass around a gfx::Shader instead of a shared_ptr<GLuint> 2021-12-07 20:49:25 -05:00
SeanOMik b35583fa4a Separate obj_model.h to a .cpp file also 2021-12-07 16:01:48 -05:00
SeanOMik ac4264c028 Rename some variables in test script 2021-12-07 15:19:40 -05:00
SeanOMik 4a09752f20 Merge Square and Triangle in one class: Model or TexturedModel 2021-12-07 14:51:12 -05:00
SeanOMik a64a748019 Obj model loading and rendering 2021-12-07 00:17:04 -05:00
SeanOMik bab9ef3c74 Move 2d square and triangle files 2021-12-06 22:54:22 -05:00
SeanOMik 340b21f099 Create a simple camera 2021-12-06 22:44:47 -05:00
SeanOMik e48f52da75 Start working on translations 2021-11-30 18:30:19 -05:00
SeanOMik 7901413d7b Attempt to get a triangle moving 2021-11-28 13:21:25 -05:00
SeanOMik 7e0ecda783 Remove the created by comments, and replace header guards with pragma 2021-11-27 14:16:41 -05:00
SeanOMik 88fe486473 Move Texture to simpleengine::gfx, separate texture to cpp file 2021-11-27 14:11:07 -05:00
SeanOMik d3555e112d Separate code in square.h and triangle.h to .cpp files 2021-11-27 14:06:51 -05:00
SeanOMik 97e1ce44cd Implement textures and add more stuff to Shader 2021-11-27 13:52:48 -05:00
SeanOMik 79f5fba2ec Add color to `Vertex`es 2021-11-25 22:28:47 -05:00
SeanOMik 625ba885c5 Allow triangle class to draw multiple gl triangles 2021-11-25 17:02:08 -05:00
SeanOMik 862833fc71 Fix the 2d triangle, create square, create VAO, and VBO objects. 2021-11-25 16:15:24 -05:00
SeanOMik 741b0c5b07 Add cmrc for resource compiling, add shaders, create a 2d triangle 2021-11-21 01:23:53 -05:00
SeanOMik 9feff47a35
Get an opengl window showing. 2021-11-20 00:48:47 -05:00