mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Revert "Go back to fill shader tracing vertex index manually"
This reverts commit 7847ff1a9db93316cf7ba4985487f82d2836d840.
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
in vec3 point;
|
||||
in float orientation;
|
||||
in vec4 color;
|
||||
in float vert_index;
|
||||
|
||||
out vec3 bp; // Bezier control point
|
||||
out float v_orientation;
|
||||
@ -19,5 +18,6 @@ void main(){
|
||||
bp = position_point_into_frame(point);
|
||||
v_orientation = orientation;
|
||||
v_color = color;
|
||||
v_vert_index = vert_index;
|
||||
// Implicit conversion from int to float
|
||||
v_vert_index = gl_VertexID;
|
||||
}
|
Reference in New Issue
Block a user