3b1b-manim/manimlib/shaders/textured_surface
Grant Sanderson 045e1f6b8a Instead of tracking du and dv points on surface, track points off the surface in the normal direction
This means that surface shading will not necessarily work well for arbitrary transformations of the surface. But the existing solution was flimsy anyway, and caused annoying issues with singularity points.
2025-01-17 11:47:10 -06:00
..
frag.glsl Discard transparent parts of textured surfaces 2024-10-17 12:31:53 -05:00
vert.glsl Instead of tracking du and dv points on surface, track points off the surface in the normal direction 2025-01-17 11:47:10 -06:00