summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* graphics: pbr: Fix missing semicolon in fragment shader.David Thompson2021-05-141-1/+1
|
* graphics: pbr: Improve fragment shader.David Thompson2021-05-141-54/+115
| | | | Properly process normal maps, among other small changes.
* graphics: pbr: Partially rewrite fragment shader.David Thompson2021-05-131-93/+147
|
* math: matrix: Add in-place orthographic/perspective projection procedures.David Thompson2021-05-131-10/+24
|
* Add warp-mouse and set-show-cursor! procedures.David Thompson2021-05-131-0/+8
|
* Add mouse wheel event handler.David Thompson2021-05-132-0/+18
|
* guix: Update guile-sdl2 to latest commit.David Thompson2021-05-131-2/+2
|
* math: matrix: Add look-at/look-at! procedures.David Thompson2021-05-121-0/+23
|
* graphics: model: Add support for dynamic lights in PBR models.David Thompson2021-05-124-69/+131
|
* graphics: model: Remove occlusion factor.David Thompson2021-05-122-8/+0
| | | | This was silly. It's not even in the spec!
* math: vector: Minor style tweaks.David Thompson2021-05-121-6/+7
|
* math: vector: Fix vec3-copy!David Thompson2021-05-121-2/+4
|
* Add (chickadee graphics light) module.David Thompson2021-05-122-0/+104
|
* 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
|