summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Set shadow program uniforms all in one function, merge setting of view ↵Dan Goodliffe2024-01-29
| | | | projections
* Merge common parts of shadow programs into a base classDan Goodliffe2024-01-29
|
* Geometry shader for single pass shadow mapsDan Goodliffe2024-01-28
| | | | | | | 2D array texture, 4 levels, geometry shader outputs to each layer for a specific band, single scene rendering. Pending massive tidy up.
* Set light view point uniform onceDan Goodliffe2024-01-27
| | | | Not once per shadow pass
* 3D relative scaling in asset factoryDan Goodliffe2024-01-27
| | | | Reduces excess vertices in cylinders
* Merge branch 'text2'Dan Goodliffe2024-01-27
|\
| * Render text in N draw callsDan Goodliffe2024-01-27
| | | | | | | | | | | | Creates a single buffer per required texture and draws the whole buffer in one go. It does introduce the use of deprecated GL_QUADS primitive, but it's the easiest way to go without needing indices, repeated vertices etc
| * Add traits vertex attrib func override for arraysDan Goodliffe2024-01-27
| | | | | | | | Address limitation on size when specifying arrays of glm::vec
| * Support constructing a glContainer from a collection of the same typeDan Goodliffe2024-01-27
| |
| * Add text to framebuffer rendering testDan Goodliffe2024-01-27
| |
| * Remove the generic cache completelyDan Goodliffe2024-01-26
| |
| * Remove the static font cacheDan Goodliffe2024-01-26
| | | | | | | | Each thing can own/share a font rendering itself
| * Always set pixel unpack alignment before generating font texture contentDan Goodliffe2024-01-26
|/
* Remove the static texture cacheDan Goodliffe2024-01-25
| | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone.
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Replace static_asserts with conceptsDan Goodliffe2024-01-25
|
* Define GLM_ENABLE_EXPERIMENTALDan Goodliffe2024-01-25
| | | | | GLM v1 requires this for use of experimental features which may change... We accept this for now.
* Single list of all shader programsDan Goodliffe2024-01-24
| | | | Pushes common stuff through a helper function
* Merge remote-tracking branch 'origin/instanced-networks'Dan Goodliffe2024-01-24
|\
| * Fix network population of position in gBufferDan Goodliffe2024-01-23
| | | | | | | | Adds some rails to the basic test highlighting broken shadows
| * Bind the network profile in as uniformsDan Goodliffe2024-01-22
| | | | | | | | Makes the network shaders generic to network type
| * Add missing support for glUniform simple span of numbersDan Goodliffe2024-01-22
| |
| * Remove the old custom mesh per network link renderingDan Goodliffe2024-01-21
| |
| * Dynamic number of segments into curve renderDan Goodliffe2024-01-21
| | | | | | | | | | Simpler formula than the old one, neither scientific, needs to tests to demonstrate a decent result for whatever formula we use.
| * Use symbol GL_MAX_GEOMETRY_OUTPUT_VERTICES to lookup the implementation ↵Dan Goodliffe2024-01-21
| | | | | | | | limit at runtime
| * Replace tokens found with values from getIntegervDan Goodliffe2024-01-21
| |
| * Look for and replace GL_XXX with fixed stringDan Goodliffe2024-01-21
| |
| * Include ctre submoduleDan Goodliffe2024-01-21
| |
| * String view/constexpr Shader instancesDan Goodliffe2024-01-21
| | | | | | | | Gonna need more constexpr stuff and strstr/strlen aren't that
| * Fix includes in test glCtxtBhvrDan Goodliffe2024-01-21
| |
| * Pass curve link radius, no recalculate, its constantDan Goodliffe2024-01-20
| |
| * Implement basic network curve part shaderDan Goodliffe2024-01-20
| |
| * Common code between straight/curve network geometry shadersDan Goodliffe2024-01-20
| |
| * Implement complete network straight part shaderDan Goodliffe2024-01-20
| |
| * Update network with vertex arrayDan Goodliffe2024-01-20
| |
| * Render rail network using new shadersDan Goodliffe2024-01-20
| | | | | | | | Non-functional, totally unimplemented at this stage
| * Copy render vital link data to vertex bufferDan Goodliffe2024-01-20
| |
| * Add mail rail network to render test, include curvesDan Goodliffe2024-01-20
| |
| * Add rail network render testDan Goodliffe2024-01-19
|/
* Add traits wrapper for setting uniformsDan Goodliffe2024-01-14
|
* We only need 3x3 matrix for model rotation specDan Goodliffe2024-01-13
|
* Add glContainer::at override to update a single itemDan Goodliffe2024-01-13
|
* Use std::span for iterator/data pointer in glContainerDan Goodliffe2024-01-13
|
* Default destructor for trivial types of glContainerDan Goodliffe2024-01-13
|
* Adding missing copy/move operations to glContainerDan Goodliffe2024-01-13
|
* Merge branch 'model-lights'Dan Goodliffe2024-01-13
|\
| * Only create VAOs for the light type(s) in useDan Goodliffe2024-01-13
| |
| * Merge common parts of light type verticesDan Goodliffe2024-01-13
| |
| * Minor tidy upDan Goodliffe2024-01-13
| |
| * Add old street lamp modelDan Goodliffe2024-01-13
| |