Commit graph

12 commits

Author SHA1 Message Date
Grant Sanderson
8fc243e398 Make anti_alias_width a Mobject uniform, rather than a camera attribute 2022-12-28 18:52:05 -08:00
Grant Sanderson
795f6e2490 Remove unit_normal attribute 2022-12-27 19:12:00 -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
de7d9ce8c9 Don't let stroke width vary with zoom levels 2022-07-19 12:38:45 -07:00
Grant Sanderson
81c3ae3037 Have separate notions of gloss and reflectiveness 2021-11-08 21:46:09 -08:00
Samip Poudel
5a16e3a358 Converted 0 to 0.0 in sdf() and angle_between_vectors() 2021-02-03 17:22:28 +05:45
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
e98ebfe9e1 Rename add_light -> finalize_color and leave room for other color manipulations 2021-01-09 22:11:38 -08:00
Grant Sanderson
a429a146c7 Fix how stroke is scaled for perspective 2021-01-09 10:30:11 -08:00
Grant Sanderson
632c35daef Fix bugs in stroke shader for 3d scenes 2021-01-08 22:28:34 -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