summaryrefslogtreecommitdiff
path: root/vertex.c
Commit message (Collapse)AuthorAgeFilesLines
* unify shaders into a single interface.rodri2024-09-011-1/+3
|
* fix a double-free. add a generic value-swapping macro.rodri2024-08-051-10/+0
|
* fix line interpolation during rasterization.rodri2024-08-021-0/+10
| | | | | | | vertex attributes were not being updated after clipping with their corresponding work rectangles, nor when reordering the points before rasterization, which caused serious artifacts.
* replace the Memimage color buffer with a ulong* one. some fixes.rodri2024-06-131-0/+1
|
* add spotlight params and a light color shading routine. other things.rodri2024-06-101-1/+4
| | | | | | among these other things are clamping the color channels to [0,1] internally, and adding a modulation function for mixing colors/points.
* use the new libgeometry berp routines. add a frame counter to the camstats.rodri2024-03-211-17/+5
|
* pass material properties to the fshader.rodri2024-03-061-0/+2
| | | | | this way users can refer to per-surface material features when shading pixels.
* add user-defined vertex attributes (varyings) and improve the interpolation ↵rodri2024-03-031-0/+148
code.