Grant Sanderson
|
acb4b1c6b3
|
Finalize color at the vertex level, rather than the fragment level, for fill
|
2023-02-02 12:04:23 -08:00 |
|
Grant Sanderson
|
17cef427f1
|
Update fill shader alpha blending, and simplify the fill canvas
|
2023-02-02 10:42:24 -08:00 |
|
Grant Sanderson
|
7c087838a3
|
Change backstroke defaults in OpeningScene
|
2023-01-31 21:33:36 -08:00 |
|
Grant Sanderson
|
2cbad30f45
|
Change VMobject rendering mode to TRIANGLES
And set indices appropriately when reading in to the ShaderWrapper
|
2023-01-31 11:45:53 -08:00 |
|
Grant Sanderson
|
e7734ca84c
|
Fix TexturedSurface
|
2023-01-30 20:57:21 -08:00 |
|
Grant Sanderson
|
55da5d5d03
|
Remove use of dv_points and du_points, pass unit normals to shader instead
|
2023-01-30 20:49:32 -08:00 |
|
Grant Sanderson
|
e950286fa4
|
Replace get_gl_Position -> emit_gl_Position
|
2023-01-30 18:43:28 -08:00 |
|
Grant Sanderson
|
daaaba0a67
|
Use frame_scale uniform instead of frame_shape
|
2023-01-30 15:10:41 -08:00 |
|
Grant Sanderson
|
277c471c90
|
Refactor so that view matrix incorporates frame scaling
|
2023-01-30 14:15:39 -08:00 |
|
Grant Sanderson
|
0d36f17f9c
|
Remove unused line
|
2023-01-28 15:40:10 -08:00 |
|
Grant Sanderson
|
368f48f8dd
|
Make use of some glsl built-ins
|
2023-01-28 15:01:32 -08:00 |
|
Grant Sanderson
|
e57ca4e1ee
|
Track orientation for non-winding fill
|
2023-01-27 12:43:21 -08:00 |
|
Grant Sanderson
|
86fb69c5bb
|
Track unit normal for fill
|
2023-01-27 12:35:43 -08:00 |
|
Grant Sanderson
|
1c432dd6dc
|
Small refactor to stroke geom shader
|
2023-01-27 10:48:06 -08:00 |
|
Grant Sanderson
|
1707958e0f
|
Clean up fill shader a bit
|
2023-01-27 08:26:54 -08:00 |
|
Grant Sanderson
|
79039bde61
|
Fix Arrow
|
2023-01-26 23:42:03 -08:00 |
|
Grant Sanderson
|
5803a00598
|
Use smaller fill_texture, adjusting winding-fill blending hack as is necessary
|
2023-01-26 20:14:22 -08:00 |
|
Grant Sanderson
|
65afed1bd1
|
Move shading from fill geom to fill frag shader
|
2023-01-26 15:50:27 -08:00 |
|
Grant Sanderson
|
37f0bf8c11
|
Fix winding fill blending
(Using somewhat of a hack)
|
2023-01-26 15:27:48 -08:00 |
|
Grant Sanderson
|
3f5df432ce
|
Consider winding_fill alphas pre-multiplied
|
2023-01-26 12:17:21 -08:00 |
|
Grant Sanderson
|
a33b24310e
|
Fix non-winding-fill orientation
|
2023-01-26 12:15:30 -08:00 |
|
Grant Sanderson
|
4cb9c9c2fc
|
Remove unnecessary normalize
|
2023-01-25 08:18:10 -08:00 |
|
Grant Sanderson
|
088a2f65a3
|
Misc. clean up
|
2023-01-24 21:10:57 -08:00 |
|
Grant Sanderson
|
307487e087
|
Don't pre-normalize joint_products
|
2023-01-24 21:10:26 -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
|
516fe9155e
|
Small tweaks
|
2023-01-24 15:29:35 -08:00 |
|
Grant Sanderson
|
87afdac6a4
|
Small clean up
|
2023-01-24 14:09:41 -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
|
b1f0270316
|
Change threshold for bevel reduction
|
2023-01-24 12:05:25 -08:00 |
|
Grant Sanderson
|
03080a10a7
|
Small style tweaks
|
2023-01-23 15:05:10 -08:00 |
|
Grant Sanderson
|
8d729eef5a
|
Rename perspective to view_matrix
|
2023-01-23 14:41:17 -08:00 |
|
Grant Sanderson
|
0d66981ac7
|
Fix issue with variable stroke width
|
2023-01-20 21:38:28 -08:00 |
|
Grant Sanderson
|
8fee4d1a66
|
Fix straight line fill anti-alias issue
|
2023-01-20 17:35:36 -08:00 |
|
Grant Sanderson
|
23b4e3e03b
|
Use cubic formula in stroke frag for large stroke width case
|
2023-01-20 13:22:18 -08:00 |
|
Grant Sanderson
|
6c262f63b1
|
Reduce is_linear threshold
|
2023-01-20 10:10:39 -08:00 |
|
Grant Sanderson
|
b7ea24f9ea
|
Tweak stroke frag
|
2023-01-20 10:09:58 -08:00 |
|
Grant Sanderson
|
fe7dc3c459
|
Tiny cleanup
|
2023-01-20 10:07:28 -08:00 |
|
Grant Sanderson
|
debc68a3b4
|
Just moving some lines around
|
2023-01-19 20:24:59 -08:00 |
|
Grant Sanderson
|
909e515a2f
|
Only compute xyz-to-uv matrix in non-linear case
|
2023-01-19 20:24:32 -08:00 |
|
Grant Sanderson
|
6839de9a31
|
Remove rotate.glsl
|
2023-01-19 10:52:53 -08:00 |
|
Grant Sanderson
|
c873d073e2
|
Factor out rotation matrix
|
2023-01-19 10:47:21 -08:00 |
|
Grant Sanderson
|
981fe009e5
|
Fix radius on dots
|
2023-01-18 23:43:36 -08:00 |
|
Grant Sanderson
|
8e2cf04b71
|
Simplify true_dot shaders
|
2023-01-18 15:36:00 -08:00 |
|
Grant Sanderson
|
6c2544098b
|
Store pixel_size instead of pixel_shape
|
2023-01-18 13:50:09 -08:00 |
|
Grant Sanderson
|
b667d89e9b
|
Simplify get_gl_Position
|
2023-01-18 13:44:41 -08:00 |
|
Grant Sanderson
|
fa525b494c
|
Increase threshold for bevel tweaking
|
2023-01-18 13:07:37 -08:00 |
|
Grant Sanderson
|
13c41be17f
|
Small clean up
|
2023-01-18 13:07:18 -08:00 |
|
Grant Sanderson
|
d39fea0d4d
|
A few small fixes
|
2023-01-18 12:52:05 -08:00 |
|
Grant Sanderson
|
40436d6370
|
Slightly cleaner xs_on_clean_parabola
|
2023-01-18 11:03:22 -08:00 |
|