mirror of
https://github.com/3b1b/manim.git
synced 2026-01-13 00:18:05 -05:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1816c2ac5 | ||
|
|
199395b6e3 | ||
|
|
837bb14c03 | ||
|
|
eca370f5ce | ||
|
|
5505fc1d54 | ||
|
|
0c7c9dee93 | ||
|
|
1a65498f97 | ||
|
|
a34c4482f6 | ||
|
|
e3e87f6110 | ||
|
|
aaa28a2712 |
@@ -446,6 +446,11 @@ class VShaderWrapper(ShaderWrapper):
|
||||
color = texture(Texture, uv);
|
||||
if(color.a == 0) discard;
|
||||
|
||||
if(color.a < 0){
|
||||
color.a = -color.a / (1.0 - color.a);
|
||||
color.rgb *= (color.a - 1);
|
||||
}
|
||||
|
||||
// Counteract scaling in fill frag
|
||||
color *= 1.06;
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ void main() {
|
||||
float alpha = smoothstep(-dark_shift, dark_shift, dp);
|
||||
color = mix(dark_color, color, alpha);
|
||||
}
|
||||
if (color.a == 0) discard;
|
||||
|
||||
frag_color = finalize_color(
|
||||
color,
|
||||
|
||||
@@ -2,7 +2,7 @@ colour
|
||||
ipython>=8.18.0
|
||||
isosurfaces
|
||||
fontTools
|
||||
manimpango>=0.4.0.post0,<0.5.0
|
||||
manimpango>=0.6.0
|
||||
mapbox-earcut
|
||||
matplotlib
|
||||
moderngl
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = manimgl
|
||||
version = 1.6.1
|
||||
version = 1.7.0
|
||||
author = Grant Sanderson
|
||||
author_email= grant@3blue1brown.com
|
||||
description = Animation engine for explanatory math videos
|
||||
@@ -30,10 +30,11 @@ packages = find:
|
||||
include_package_data = True
|
||||
install_requires =
|
||||
colour
|
||||
ipython
|
||||
ipython>=8.18.0
|
||||
isosurfaces
|
||||
manimpango>=0.4.0.post0,<0.5.0
|
||||
fontTools
|
||||
mapbox-earcut
|
||||
manimpango>=0.6.0
|
||||
matplotlib
|
||||
moderngl
|
||||
moderngl_window
|
||||
@@ -51,6 +52,7 @@ install_requires =
|
||||
svgelements>=1.8.1
|
||||
sympy
|
||||
tqdm
|
||||
typing-extensions; python_version < "3.11"
|
||||
validators
|
||||
|
||||
[options.entry_points]
|
||||
|
||||
Reference in New Issue
Block a user