summaryrefslogtreecommitdiff
path: root/gfx
Commit message (Collapse)AuthorAge
...
* Save texture to TGA using mmapDan Goodliffe2022-12-09
| | | | | Removes the need to allocate a large temporary buffer, instead just memmaps a file big enough and has OpenGL write the texture data directly to it.
* Support fall-back internal framebuffer formats, use smaller and/or standard ↵Dan Goodliffe2022-12-08
| | | | formats
* Tidy upDan Goodliffe2022-12-06
|
* Disable depth test, remove unnecesary texture binds and clear for lighting passDan Goodliffe2022-12-06
| | | | The initial texture render covers the whole screen anyway
* Increase gBuffer position data to 32bit and drop all the alpha channelsDan Goodliffe2022-12-06
| | | | | 16bit float is insufficient for decent shadow accuracy and the alpha channel is pointless in a delayed render.
* Centre shadow map at 0,0 until we can do betterDan Goodliffe2022-12-04
|
* Explicit ShadowMapper size only, no defaultDan Goodliffe2022-12-04
|
* We need to transform the model normals the same as we do the verticesDan Goodliffe2022-12-04
|
* Do not unilluminate the back of objectsDan Goodliffe2022-12-04
|
* Generate and use a shadow mapDan Goodliffe2022-12-04
| | | | | Generated when the directional light is specified in the environment call, passed to the directional light shader pass to conditionally illuminate each pixel.
* Fixed point shadow shader doesn't need normal/texture dataDan Goodliffe2022-12-04
|
* Support saving a depth textureDan Goodliffe2022-12-04
|
* Don't actually need to define an empty fragment shaderDan Goodliffe2022-12-04
|
* Initial commit of the shadow map generator and shadows render interfaceDan Goodliffe2022-12-03
| | | | | Lots of hard coding, buggy in places, far from great, but the basics work.
* Check error state during setup, set OpenGL version to 3.3 coreDan Goodliffe2022-12-03
| | | | Updates all shaders to 330 core too.
* Split SceneProvider outDan Goodliffe2022-11-27
|
* SceneRenderer is a graphics component, not a UI oneDan Goodliffe2022-11-27
|
* Change pointlight render area definition to a cubeDan Goodliffe2022-11-27
|
* Add light stage to renderable objectsDan Goodliffe2022-11-23
|
* Add rendering support for point lightsDan Goodliffe2022-11-23
|
* Support setting a viewPort uniform for those shaders which need itDan Goodliffe2022-11-23
|
* Rename setView to setViewProjection to avoid ambiguityDan Goodliffe2022-11-23
|
* Separate out the illumation of the sceneDan Goodliffe2022-11-23
|
* Simplified texture saveDan Goodliffe2022-11-18
| | | | Read directly from texture into file buffer, no temporary framebuffer
* Shaders can be deleted once attached to a programDan Goodliffe2022-11-15
|
* Add some tests over the behaviour of windows and contexts and glStuffDan Goodliffe2022-11-14
|
* Refactor for per window context and more setup to the right placesDan Goodliffe2022-11-14
|
* Fix type of SceneShaderDan Goodliffe2022-11-14
|
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03
|
* Tidied Scene RendererDan Goodliffe2022-11-01
|
* Switch to a deferred lighting based render pipelineDan Goodliffe2022-11-01
| | | | Tidy-up required.
* Somewhat dirty but functional helper to save a textureDan Goodliffe2022-11-01
| | | | Useful for debugging and not much else.
* Set v330 core on world shadersDan Goodliffe2022-10-30
|
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Fix const correctness of Texture from raw dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an dimensions and pixel dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an ImageDan Goodliffe2022-10-13
|
* Standard typedefs for MeshDan Goodliffe2022-10-13
|
* Reduce variable scopeDan Goodliffe2022-08-21
|
* Encapsulate RayDan Goodliffe2022-01-02
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Cache allows multiple key partsDan Goodliffe2022-01-01
|
* Don't forward declare CacheDan Goodliffe2022-01-01
|
* Generic solution for glGen/glDel arrays, then tidy-up the usesDan Goodliffe2022-01-01
|
* First iteration with font/text supportDan Goodliffe2022-01-01
|
* Remove unnecessary initialiserDan Goodliffe2021-12-31
|
* Allow glRef to accept lambdasDan Goodliffe2021-12-31
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* RAII for glVertex and glBufferDan Goodliffe2021-12-22
|