mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Don't have absolute stroke width change with frame size (at least temporarily)
This commit is contained in:
parent
0a585b123c
commit
5eb5a11499
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ const float STROKE_WIDTH_CONVERSION = 0.01;
|
|||
|
||||
void main(){
|
||||
verts = point;
|
||||
v_stroke_width = STROKE_WIDTH_CONVERSION * stroke_width * mix(frame_scale, 1, is_fixed_in_frame);
|
||||
// v_stroke_width = STROKE_WIDTH_CONVERSION * stroke_width * mix(frame_scale, 1, is_fixed_in_frame);
|
||||
v_stroke_width = STROKE_WIDTH_CONVERSION * stroke_width;
|
||||
v_joint_product = joint_product;
|
||||
v_color = stroke_rgba;
|
||||
v_vert_index = gl_VertexID;
|
||||
|
|
Loading…
Add table
Reference in a new issue