26 Commits (bff55ba6f589d7da69bc305b0849a1a96d45d731)

Author SHA1 Message Date
Shariq Shah 051c6a97e7 Moved MAX_LIGHTS definition from shader to c code and implemented functionality to allow #defining from c code before shaders are compiled 6 years ago
Shariq Shah 3b5a8aecd3 Moved #version definition to c code and added config option for enabling/disabling vsync 6 years ago
Shariq Shah 6a2bb7e3c4 First mac build! Also fixed bug in shader link error logging. 6 years ago
Shariq Shah 4a6a108d06 Implemented circle and arc drawing in immediate mode renderer and fixed bug with immediate renderer. Also changed all linmath functions to use degrees as parameters and change to radians inside the function 6 years ago
Shariq Shah 66b72cca73 Implemented showing selected entity in editor with a specific colour 6 years ago
Shariq Shah ccb52b9cf8 Update to recent changes on linux 7 years ago
Shariq Shah 56482d06b2 Fixed bugs in rendering code, began separating editor camera from game camera 7 years ago
Shariq Shah 9c2856eb87 Added primitive support to immediate renderer and put blender addon under version control 8 years ago
Shariq Shah 8782bf27ac Implemented immediate mode renderer for debug drawing and drawing arbitrary points, lines and triangles 8 years ago
Shariq Shah 6728ac5f8c Made sprite batch 2d only 8 years ago
Shariq Shah 33ae972f04 Initial version of sprite renderer code and fixed bugs related to shaders, camera and editor 8 years ago
shariq shah c60930e739 Made minor modifications to makefiles and changed readme format from org 8 years ago
Shariq Shah 598ac1c5cf Added window to render settings to editor ui and updated nuklear version 9 years ago
Shariq Shah 3389c423df Properly implemented simple toggleable debug drawing for meshes 9 years ago
Shariq Shah 4a091cea9a Added toggleable draw modes, GL_TRIANGLES, GL_POINTS and GL_LINES along with initial work on debug rendering 9 years ago
Shariq Shah 9007024b26 Initial integration of nuklear as gui framework and minor additions/tweaks all around the codebase 9 years ago
Shariq Shah 22684f22d5 Fixed issues with opengl context version and minor bug with blinn-phong uniform bug 9 years ago
Shariq Shah 80a1f36bbd Added Fog 9 years ago
Shariq Shah 4d52269b68 Fixed issues with non-uniform scale and normals 9 years ago
Shariq Shah b826b66fae Switched to Blinn_Phong speculars 9 years ago
Shariq Shah b53dcf287e Added spot lights 9 years ago
Shariq Shah c9cdfb5fff Added directional lights and removed some unused code 9 years ago
Shariq Shah 08a7b96ace Reverted to forward rendering, added default values for uniforms 9 years ago
Shariq Shah 84ff35053c Fixed texture units' issue 9 years ago
Shariq Shah f815dafd82 Implemented rendering vertex data to gbuffer 9 years ago
Shariq Shah bb3abf5e00 Added shaders required so far and default assets 9 years ago