Commit graph

17 commits

Author SHA1 Message Date
Grant Sanderson
86fb69c5bb Track unit normal for fill 2023-01-27 12:35:43 -08:00
Grant Sanderson
f0df5c759d Make winding fill optional, and make winding additive rather than toggling 2023-01-24 20:03:23 -08:00
Grant Sanderson
6e56c31d67 Use gl_InstanceID instead of hacking triangle_strip 2023-01-24 13:49:43 -08:00
Grant Sanderson
4774d2bc3b First pass at a winding-based fill approach 2023-01-24 13:29:34 -08:00
Grant Sanderson
c3cd64f68c Package reflectiveness, gloss and shadow into a single uniform "shading" 2023-01-16 19:33:57 -08:00
Grant Sanderson
6f9f83fb1b Unify shader_dtype and data_dtype 2023-01-15 19:09:29 -08:00
Grant Sanderson
a004c88e02 Consolidate functions associated with computing gl_Position 2023-01-13 22:07:28 -08:00
Grant Sanderson
394d87effb Small style tweaks to quadratic_bezier_fill/geom 2023-01-13 17:26:59 -08:00
Grant Sanderson
c0b3c246de Revert "Revert "Go back to fill shader tracing vertex index manually""
This reverts commit 387de61119.
2023-01-12 00:16:05 -08:00
Grant Sanderson
387de61119 Revert "Go back to fill shader tracing vertex index manually"
This reverts commit 7847ff1a9d.
2023-01-11 16:22:12 -08:00
Grant Sanderson
7847ff1a9d Go back to fill shader tracing vertex index manually 2023-01-11 15:32:27 -08:00
Grant Sanderson
1cf89abf53 No need to track vertex index manually 2023-01-04 16:39:59 -08:00
Grant Sanderson
40bf1fd6a9 Stop tracking unit_normal in data
Track orientation of each curve instead
2022-12-23 10:08:23 -07:00
Grant Sanderson
59af903f14 Reorganize the interaction between CameraFrame and shader perspective transforms, along with some keyboard interactions for panning 2021-01-18 16:39:29 -08:00
Grant Sanderson
677d609870 Tiny chantges 2021-01-09 10:30:42 -08:00
Grant Sanderson
7b8677fd6c Push all mention of the #INSERT convention to a note in the insert file 2021-01-07 16:16:20 -08:00
Grant Sanderson
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
Renamed from manimlib/shaders/quadratic_bezier_fill_vert.glsl (Browse further)