Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Assets moved to global game state | Dan Goodliffe | 2023-04-17 |
| | |||
* | Create a large test forest | Dan Goodliffe | 2023-04-17 |
| | |||
* | 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 | ||
* | Merge branch 'assimp' | Dan Goodliffe | 2023-04-14 |
|\ | |||
| * | Add an asset template and use it to define all the foliage assets in the ↵ | Dan Goodliffe | 2023-04-14 |
| | | | | | | | | plants pack | ||
| * | Remove the old .obj load, assets and supporting stuff | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Load all assets in red dir with asset factory | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Use asset factory models in test-render | 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 |
| | | |||
| * | Pass texture fragment mapmode to texture atlas | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Adjust test render view to get a closer view of our tree | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Configure texture fragment mapmode from material | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Define our own enum for texture mapmode | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Create texture fragments from materials | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Set GL_PACK_ALIGNMENT before saving texture to fit buffer correctly | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Merge branch 'worker' into assimp | Dan Goodliffe | 2023-04-14 |
| |\ | |||
| | * | Load texture images in Worker | Dan Goodliffe | 2023-04-14 |
| | | | |||
| | * | Current thread partakes in work effort while waiting | Dan Goodliffe | 2023-04-14 |
| | | | | | | | | | | | | This will prevent deadlock if the work pool is otherwise busy by ensuring work is always being done | ||
| | * | Simplify doWork, add tests for various interface uses | Dan Goodliffe | 2023-04-14 |
| | | | |||
| | * | New WorkItem/job/promise/future based interface | Dan Goodliffe | 2023-04-14 |
| | | | |||
| | * | Simplify worker with jthread | Dan Goodliffe | 2023-04-14 |
| | | | | | | | | | | | | | | | Moves thread collection to bottom of class so threads are joined before job storage is destroyed. | ||
| | * | Global worker instance | 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 |
| | | |||
| * | Extend timeout... this can be a bit slow now | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Have texture packer search harder for a solution, stopping at the reported ↵ | Dan Goodliffe | 2023-04-14 |
| | | | | | | | | texture size limit | ||
| * | Reduce texture size determined by packer if non-pot sizes are supported | Dan Goodliffe | 2023-04-14 |
| | | |||
| * | Merge branch 'materials' into assimp | Dan Goodliffe | 2023-04-13 |
| |\ | |||
| | * | Fix typo in name SceneCPtr | Dan Goodliffe | 2023-04-13 |
| | | | |||
| | * | 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 |
| | | | |||
| | * | Use texture atlas for asset factory | Dan Goodliffe | 2023-04-13 |
| | | | |||
| | * | Add missing forward declaration | 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 m4 includes as a Jam scanner | Dan Goodliffe | 2023-04-11 |
| | | | |||
| | * | Split out the glsl embedding jam rules | Dan Goodliffe | 2023-04-11 |
| |/ | |||
| * | Load assimp textures in parallel | Dan Goodliffe | 2023-04-10 |
| | | |||
| * | First cut loading assets using assimp | Dan Goodliffe | 2023-04-10 |
| | | | | | | | | This is far from perfect, specifically the created texture atlas is not compatibile with wrapping texture UVs | ||
| * | Support loading textures from an in memory buffer | Dan Goodliffe | 2023-04-10 |
| | | |||
| * | Plants are world objects | Dan Goodliffe | 2023-04-10 |
| | | |||
| * | Load texture fragment images as we go, make the image a member | Dan Goodliffe | 2023-04-10 |
| | |