summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* graphics: model: Add really rough sketch of PBR lighting model.David Thompson2021-05-113-31/+207
|
* graphics: pbr: Add metallic roughness texture back in.David Thompson2021-05-112-3/+18
|
* graphics: texture: Add state for texture unit 4.David Thompson2021-05-111-0/+7
|
* graphics: pbr: Set alpha cutoff of default material to 0.5.David Thompson2021-05-101-1/+1
| | | | This conforms to the glTF 2.0 specification.
* graphics: pbr: Add comments to fragment shader.David Thompson2021-05-101-3/+3
|
* graphics: pbr: Shade blue when there is no vertex color or base color.David Thompson2021-05-101-1/+1
|
* graphics: model: Display a warning when loading sparse glTF data.David Thompson2021-05-101-0/+4
|
* graphics: model: Fix buffer view index/vertex logic.David Thompson2021-05-101-12/+26
| | | | This is the gnarliest part of the glTF spec I've run into yet.
* graphics: model: Fix matrix multiplication order errors.David Thompson2021-05-101-3/+3
|
* graphics: buffer: Fix indexed rendering with a byte offset.David Thompson2021-05-101-6/+8
| | | | | Need to pass in the byte offset as a pointer to gl-draw-elements rather than using the null pointer aka an offset of 0 bytes.
* math: matrix: Fix implementation of matrix4-rotate!David Thompson2021-05-101-15/+21
|
* math: quaternion: Add rotation->quaternion procedure.David Thompson2021-05-101-1/+17
|
* graphics: texture: Explicitly set active texture unit in make-texture.David Thompson2021-05-101-2/+4
| | | | Avoids bugs that occur when OpenGL state isn't what we think it is.
* graphics: model: Add support for mirrored repeat texture wrap mode.David Thompson2021-05-101-1/+1
|
* graphics: texture: Add support for mirrored repeat wrap mode.David Thompson2021-05-102-5/+6
|
* graphics: model: Pre-compute world matrices for model nodes.David Thompson2021-05-101-76/+63
|
* graphics: model: Rename <scene-node> to <model-node>.David Thompson2021-05-101-19/+19
|
* graphics: pbr: Fix code indentation.David Thompson2021-05-081-2/+2
|
* graphics: buffer: Fix rendering of vertex arrays without indices.David Thompson2021-05-081-1/+6
|
* graphics: pbr: Export pbr-material-*-texture-enabled procedures.David Thompson2021-05-081-0/+4
|
* graphics: model: Add basic alpha mode support for glTF models.David Thompson2021-05-083-9/+38
|
* graphics: buffer: Fix misnamed procedure export.David Thompson2021-05-071-1/+1
|
* model: Improve PBR material handling for glTF models.David Thompson2021-05-073-73/+134
|
* graphics: phong: Extract shader code to separate files.David Thompson2021-05-074-125/+129
|
* graphics: pbr: Extract shader code to separate files.David Thompson2021-05-074-79/+87
|
* model: Don't crash due to unsupported glTF texture wrap mode.David Thompson2021-05-071-2/+4
| | | | Just default to repeat for now.
* model: Add crude support for secondary textures in glTF models.David Thompson2021-05-072-27/+49
|
* model: Add support for vertex colored glTF models.David Thompson2021-05-072-12/+38
|
* Include example audio files in release tarballs.David Thompson2021-05-061-0/+5
| | | | Thanks to Tim Meehan for pointing out this omission.
* graphics: model: Do not flip glTF textures.David Thompson2021-05-051-1/+2
| | | | | The texture coordinates are based on a top-left origin in glTF, so we want to leave the pixels as-is.
* graphics: model: Add support for scene node transforms in glTF models.David Thompson2021-05-051-20/+61
|
* graphics: texture: Make vertical pixel flipping optional in load-image.David Thompson2021-05-051-4/+8
|
* math: matrix: Add vec3 support to matrix4-scale!David Thompson2021-05-051-5/+14
|
* graphics: model: Use default material when primtive doesn't specify.David Thompson2021-05-051-2/+1
|
* graphics: model: Add crude support for base64 glTF buffer data.David Thompson2021-05-051-7/+12
|
* Add base64 module.David Thompson2021-05-052-0/+260
| | | | Snarfed from Guix.
* graphics: model: Fix reference to defunct load-pbr-shader procedure.David Thompson2021-05-052-2/+2
|
* guix: Make package compatible with `guix build -f`.David Thompson2021-05-041-2/+14
|
* guix: Update guile-sdl2 to latest commit.David Thompson2021-05-041-2/+2
|
* Add fallback method for loading shared libraries.David Thompson2021-04-305-9/+25
|
* graphics: texture: Import (sdl2 image) the right way.David Thompson2021-04-301-1/+2
|
* scripting: channel: Export channel-clear!David Thompson2021-04-281-1/+2
|
* scripting: channel: Add channel-clear! procedure.David Thompson2021-04-282-0/+9
|
* queue: Add queue-clear! procedure.David Thompson2021-04-281-1/+7
|
* audio: Fix looping of streaming sources.David Thompson2021-04-251-4/+5
| | | | This was completely broken before.
* graphics: tile-map: Fix tile-layer-ref procedure name.David Thompson2021-04-201-1/+1
|
* graphics: font: Change ascender/descender to ascent/descent.David Thompson2021-04-151-8/+8
|
* graphics: font: Add ascender/descender fields to <font>.David Thompson2021-04-151-5/+13
|
* doc: Fix misplaced argument.David Thompson2021-04-131-2/+2
|
* guix: Update to latest commit of guile-sdl2.v0.7.0David Thompson2021-04-131-2/+2
|