Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Point shaders can all share the same implementation now in a single place | Dan Goodliffe | 2023-04-26 |
| | | | | They all just get `model` from a different place | ||
* | Pop and complete instanced shadow support | Dan Goodliffe | 2023-04-26 |
| | |||
* | Add BufferedLocation | Dan Goodliffe | 2023-04-23 |
| | | | | | Wraps Location, storing a pre-computed mat4 transformation of the position/rotation in a VBO handled by InstanceVertices. | ||
* | Assert the buffer is actually mapped | Dan Goodliffe | 2023-04-23 |
| | | | | Will fail if the context is deleted. We shouldn't trigger that, but we do right now. | ||
* | Keep the instance unused vector sorted and binary search it | Dan Goodliffe | 2023-04-22 |
| | |||
* | Don't fill the instances unused vector unnecessarily | Dan Goodliffe | 2023-04-22 |
| | |||
* | Test instancing automatic unmap when count is called, add some nodiscard | Dan Goodliffe | 2023-04-22 |
| | |||
* | Streamline the instancing maintenance | Dan Goodliffe | 2023-04-22 |
| | |||
* | Fix the instancing maintenance | Dan Goodliffe | 2023-04-22 |
| | |||
* | Instances buffer data needs to be unmapped before use | Dan Goodliffe | 2023-04-21 |
| | | | | | Here we change quite a bit to support mapping and unmapping the buffer as required. The instance/free referencing is still broken though. We add several instances of tree in the render. | ||
* | Expose bufferName and count from InstanceVertices | Dan Goodliffe | 2023-04-20 |
| | |||
* | Support setting vertex attrib divisor | Dan Goodliffe | 2023-04-19 |
| | |||
* | Enable all vertex array attribs configured by vertexAttribFunc | Dan Goodliffe | 2023-04-19 |
| | |||
* | Persist vertexArrayId across multiple calls | Dan Goodliffe | 2023-04-19 |
| | | | | Allows chaining together to build VAO from multiple buffers | ||
* | Add basic instanced shader to those which get the viewProjection configured | Dan Goodliffe | 2023-04-19 |
| | |||
* | Fix type of basic instanced shader | Dan Goodliffe | 2023-04-19 |
| | | | | | It's now AbsolutePosProgram, which is kind of right, in that it takes no location data via uniform, it's all in the vertex data. | ||
* | Export mesh size and primitive type | Dan Goodliffe | 2023-04-19 |
| | |||
* | Fix location of model matrix in vertex shader | Dan Goodliffe | 2023-04-18 |
| | |||
* | Specialize vertexAttribFunc for matrices because there's an upper limit of ↵ | Dan Goodliffe | 2023-04-18 |
| | | | | size 4 on attrib pointers | ||
* | Separate storing of mesh vertex/index data from configuring VAO | Dan Goodliffe | 2023-04-17 |
| | |||
* | Revamp how VertexArrayObject configures attributes and data | Dan Goodliffe | 2023-04-17 |
| | |||
* | Fix up the way spotlight shader works | Dan Goodliffe | 2023-04-17 |
| | | | | | Was mostly through lack of understanding and coincidences. Position is now the only vertex data, direction is moved to a uniform. Instancing will address this by making everything instance data. | ||
* | First cut of instance vertices and proxy | Dan Goodliffe | 2023-04-17 |
| | | | | | Untested outside unit test, allows the use of a glBuffer as a storage container. To be combined with a vertex array and/or mesh etc for massing drawing with glDrawElementsInstanced | ||
* | Add the dynamicPoint shader for instancing | Dan Goodliffe | 2023-04-15 |
| | | | | Same as dynamicPoint, but the model matrix is a vertex input | ||
* | Rename lots of shader files | Dan Goodliffe | 2023-04-15 |
| | | | | Names and paths still not perfect, but better and the weird name missuse is gone | ||
* | Remove the old .obj load, assets and supporting stuff | Dan Goodliffe | 2023-04-14 |
| | |||
* | Handle different mapmodes in basic shader | Dan Goodliffe | 2023-04-14 |
| | |||
* | Write applicable Texture Options into texture atlas texture data | Dan Goodliffe | 2023-04-14 |
| | |||
* | Define our own enum for texture mapmode | Dan Goodliffe | 2023-04-14 |
| | |||
* | Set GL_PACK_ALIGNMENT before saving texture to fit buffer correctly | Dan Goodliffe | 2023-04-14 |
| | |||
* | Externalise a neater definition of TGAHead | Dan Goodliffe | 2023-04-14 |
| | |||
* | No need to pass size around, we can get it back from the texture | Dan Goodliffe | 2023-04-14 |
| | |||
* | Rename clear to opaque as its 1 for solid | Dan Goodliffe | 2023-04-13 |
| | |||
* | Adjust gl_FragDepth according to texel opacity | Dan Goodliffe | 2023-04-13 |
| | |||
* | Update shaders to use material to conditionally lookup sub-texture in the atlas | Dan Goodliffe | 2023-04-13 |
| | |||
* | Add material field to vertex and configure it in mesh | Dan Goodliffe | 2023-04-13 |
| | |||
* | Add TextureAtlas class as an extension of Texture | Dan Goodliffe | 2023-04-13 |
| | |||
* | Fix submitting of integer values via vertex arrays | Dan Goodliffe | 2023-04-13 |
| | |||
* | Move the vertex/fragment shader interface for materials into an include | Dan Goodliffe | 2023-04-11 |
| | |||
* | Move lots of common glsl interface to include files | Dan Goodliffe | 2023-04-11 |
| | |||
* | Support loading textures from an in memory buffer | Dan Goodliffe | 2023-04-10 |
| | |||
* | Remove (as yet) unused members from Camera | Dan Goodliffe | 2023-03-19 |
| | |||
* | Add defaulted Vertex equality operator | Dan Goodliffe | 2023-03-19 |
| | |||
* | Make Vertex aggregrate constructor conditional on requirement | Dan Goodliffe | 2023-03-19 |
| | |||
* | Allow specifiying the texture type/target | Dan Goodliffe | 2023-03-16 |
| | |||
* | Texture member to save the texture as a TGA | Dan Goodliffe | 2023-03-15 |
| | |||
* | Add support for setting Texture options on construction | Dan Goodliffe | 2023-03-15 |
| | |||
* | Basic fragment ahader should use final colour to determine clear flag | Dan Goodliffe | 2023-03-14 |
| | |||
* | DynamicPoint shadow render now supports updating the position without ↵ | Dan Goodliffe | 2023-03-04 |
| | | | | calling use again | ||
* | Support for model colours mixed with textures | Dan Goodliffe | 2023-02-24 |
| |