summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
| |
| * Update point light shaders for instancingDan Goodliffe2024-01-13
| |
| * Add model support for point lightsDan Goodliffe2024-01-12
| | | | | | | | Still invokes non-instanced point light shader
| * Fix order or multiple to address reversed rotationDan Goodliffe2024-01-12
| |
| * Tweak street light definitionDan Goodliffe2024-01-12
| |
| * Full implementation passing through light defs from vertex dataDan Goodliffe2024-01-11
| | | | | | | | | | Note: there is a bug where the light position/direction are rotated backwards to the model even though its using the model's rotation matrix... no idea why/how.
| * Initial commit with working light instancingDan Goodliffe2024-01-10
| |
| * Add spot light definition, loader, and renderingDan Goodliffe2024-01-10
| | | | | | | | Rendering is untested, data is passed to whatever GL program is currently active.
| * Add lights resource set and test sceneDan Goodliffe2024-01-09
| |
| * Add the Illuminator (type) and Light (instance) classesDan Goodliffe2024-01-09
|/
* Integer support in persistenceDan Goodliffe2024-01-09
| | | | | Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type.
* Fix test-persistence dependenciesDan Goodliffe2024-01-08
|