Don't have absolute stroke width change with frame size (at least temporarily)

This commit is contained in:
Grant Sanderson 2024-08-20 12:36:28 -05:00
parent 0a585b123c
commit 5eb5a11499

View file

@ -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;