summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* graphics: path: Move gradient matrix multiplication to vertex shader.David Thompson2021-09-082-6/+5
| | | | *Much* cheaper to do this per-vertex than per-fragment.
* examples: path: Exit when Q key is pressed.David Thompson2021-09-081-0/+5
|
* graphics: path: Add support for linear/radial gradient fills.David Thompson2021-09-083-10/+136
|
* graphics: path: Use case instead of match for stroke cap matching.David Thompson2021-09-081-8/+10
|
* graphics: path: Fix bounding box state sharing issue.David Thompson2021-09-081-4/+5
| | | | | Create a new bounding box each time the compiled path is reset to avoid all paths sharing, and clobbering, the same rect object.
* graphics: path: Remove code that wasn't doing anything.David Thompson2021-09-081-1/+0
|
* math: matrix: Add matrix3-inverse! and matrix3-inverse.David Thompson2021-09-082-0/+56
|
* graphics: shader: Add support for 3x3 matrices.David Thompson2021-09-071-0/+14
|
* graphics: gl: Export glUniform3fv binding.David Thompson2021-09-071-0/+1
|
* graphics: path: Separate fill/stroke into different shaders.David Thompson2021-08-277-117/+137
|
* doc: Update to reflect renaming of buffer views to vertex attributes.David Thompson2021-08-241-46/+46
|
* graphics: buffer: Reorganize where dynamic buffer stuff is defined.David Thompson2021-08-241-78/+78
|
* graphics: Rename <buffer-view> to <vertex-attribute>.David Thompson2021-08-244-173/+170
|
* graphics: mesh: Add make-sphere procedure.David Thompson2021-08-201-0/+205
|
* graphics: Add basic image based ambient lighting.David Thompson2021-08-164-25/+36
|
* graphics: shader: Add support for cube map samplers.David Thompson2021-08-161-3/+17
|
* graphics: Add skybox module.David Thompson2021-08-162-0/+102
|
* graphics: texture: Add state for texture unit 5.David Thompson2021-08-161-0/+7
|
* graphics: texture: Add support for cube maps.David Thompson2021-08-163-72/+197
|
* graphics: pbr: Move attributes around to support auto-generated meshes.David Thompson2021-08-121-5/+5
|
* graphics: Always use normal/ambient/etc. maps.David Thompson2021-08-125-202/+103
| | | | | If models don't specify their own textures, use noop textures as appropriate.
* graphics: texture: Add black, white, gray, and flat convenience textures.David Thompson2021-08-121-0/+40
|
* graphics: Refactor model/phong/pbr modules to use new mesh module.David Thompson2021-08-125-346/+206
|
* graphics: engine: Fix indentation.David Thompson2021-08-121-1/+1
|
* graphics: Add mesh module.David Thompson2021-08-122-0/+432
|
* math: Remove unnecessary pi digits and add precomputed pi/2.David Thompson2021-08-121-2/+2
|
* math: Rename 2pi to tau.David Thompson2021-08-123-8/+8
|
* graphics: pbr: Normalize the interpolated normal vector in fragment shader.David Thompson2021-08-081-1/+1
|
* graphics: phong: Use Blinn-Phong method for specular highlights.David Thompson2021-08-081-1/+2
|
* graphics: buffer: Remove max, min, sparse fields from <buffer-view>.David Thompson2021-08-061-8/+2
| | | | | Just a dumb thing I added when I was first trying to add glTF support and didn't really know what I wsas doing.
* graphics: model: Stop passing max, min, sparse args to make-buffer-view.David Thompson2021-08-061-4/+1
|
* model: Add mipmapping support to glTF models.David Thompson2021-08-061-5/+4
|
* graphics: texture: Add support for mipmaps.David Thompson2021-08-061-2/+17
|
* 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
|