summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* graphics: gl: Add binding for glGenerateMipmap.David Thompson2021-08-061-0/+9
|
* graphics: phong: Improve lighting.David Thompson2021-08-063-12/+23
|
* graphics: model: Add placeholders for more texcoords in glTF models.David Thompson2021-08-061-2/+11
|
* graphics: color: Do not clamp color values to [0, 1] range.David Thompson2021-05-141-6/+1
| | | | Not doing so allows for high dynamic range color manipulation.
* graphics: phong: Respect the user defined lights passed to draw-model.David Thompson2021-05-144-66/+148
|
* graphics: model: Change default OBJ model color factors.David Thompson2021-05-141-3/+3
|
* graphics: model: Don't flip pixels of OBJ model textures.David Thompson2021-05-141-4/+8
|
* graphics: model: Change default ambient light color.David Thompson2021-05-141-1/+1
|
* graphics: model: Use multisampling.David Thompson2021-05-141-1/+3
|
* graphics: pbr: Add placeholder inputs/outputs to shaders.David Thompson2021-05-142-3/+16
|
* 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
|