51 Commits (39cc17db686b9e02394510442ed388b4097d6bdb)

Author SHA1 Message Date
cinnaboot 39cc17db68 remove fixed properties of ShaderProgram in favor of dynamic properties 4 years ago
cinnaboot 70458f248a allow entities to have empty diffuse texture 4 years ago
cinnaboot a44971ae40 add updateGLBuffer as generic helper 4 years ago
cinnaboot 63dceb6cdf initialize GLBuffer members to sane defaults at creation 4 years ago
cinnaboot 0fcaa473de remove data_size parameter from GLUniform 4 years ago
cinnaboot 2919e2bcb6 add data size parameter to GLBuffer 4 years ago
cinnaboot 4bec420d4f remove defaults for initTransforms() 4 years ago
cinnaboot 92411decf2 add getUBOByName helper 4 years ago
cinnaboot 54c65d1745 implement buffer backed lighting uniform structure 5 years ago
cinnaboot 3993fe4129 add updateCamerTransforms helper function 5 years ago
cinnaboot 72607666a8 add getFreeUBO helper function 5 years ago
cinnaboot 79b20bb6b0 load a dummy shader to init GLContext limits 5 years ago
cinnaboot 351f179bba rename instances of GLmesh to GLMesh 5 years ago
cinnaboot 5948f7b2e0 add some notes and skeleton for scene abstraction 5 years ago
cinnaboot 3c9b7c9376 add full lighting shader with debug values 5 years ago
cinnaboot 8d0f3be381 rename instances of model_matrix to node_matrix 5 years ago
cinnaboot 9f94c153f8 rename structures in asset.h to consistent style 5 years ago
cinnaboot 99db662ac5 rename data structure in shader.h to consistent style 5 years ago
cinnaboot 41b4ed4d6d set up the attrib mappings for the default shaders automatically 5 years ago
cinnaboot dd64cae398 add a function to get the correct mesh buffer automatically 5 years ago
cinnaboot 9fa7d4be4c remove position argument from loadGLMesh/initGLMesh 5 years ago
cinnaboot 49140669f1 fix the debug shader normal transforms 5 years ago
cinnaboot a1ff310a46 get textured rendering working again 5 years ago
cinnaboot 16e90d6790 (re-)implement texture loading 5 years ago
cinnaboot b1e55782b0 add max_vertex_attribs property to GLContext 5 years ago
cinnaboot 8370a69ed4 update asset cache and loading interface 5 years ago
cinnaboot 062205a2f9 move Entity structure and interface to separate files 5 years ago
cinnaboot 8dac55ea1e rename memory_arena struct to MemoryArena 5 years ago
cinnaboot 65c12555b2 add GLTexture structure, and gl_ctx->textures 5 years ago
cinnaboot e4568cb987 remove unused gl_buffer pointer on GLBufferToAttribMapping structure 5 years ago
cinnaboot 62539c777f use RenderGroups and Entities to store groups of meshes 5 years ago
cinnaboot 6fdbcdc921 remove unused GLmeshMapping struct 5 years ago
cinnaboot 364e4de995 remove old code path for static shader attributes 5 years ago
cinnaboot 62e76e982b get dynamic vertex attribute parsing working 5 years ago
cinnaboot 66600f1366 test a loadGLMesh() with GLBufferToAttribMapping struct 5 years ago
cinnaboot c14924dfef add data structures for new shader to entity abstraction 5 years ago
cinnaboot 5fac395618 add GLVertexAttrib struct to distinguish from gl_buffer 5 years ago
cinnaboot 77f1c02781 remove ambiguous data_size property from gl_buffer structure 5 years ago
cinnaboot edd4fc6239 add new GLMeshMapping structure 5 years ago
cinnaboot 96e94a5b23 add FIXME about mapping shaders to meshes 5 years ago
cinnaboot 7790ba2cda reorganize shader header 5 years ago
cinnaboot 001190fc73 break up addShader() into logical helper functions 5 years ago
cinnaboot 0cf86ec626 move getShader functions to shader interface 5 years ago
cinnaboot b22b6f8b23 remove 'name_len' from GLUniformBLock struct 5 years ago
cinnaboot 608ae99f2e remove 'name_len' from gl_uniform struct and use new helper 5 years ago
cinnaboot ba0c18bac7 remove gl_mesh_array and light_array structures 5 years ago
cinnaboot 56ac0b5440 add parseUniformBlocks() and updated related structs 5 years ago
cinnaboot ed544013b5 remove ShaderArray struct, and add shaders to GLContext 5 years ago
cinnaboot f3e3de55c5 add types.h include 5 years ago
cinnaboot 35d9371c0e break out parseUniform() from parseShaderUniforms() 5 years ago