Grant Sanderson
38cc0a7174
Added glossiness to VMobjects
2020-06-02 16:18:44 -07:00
Grant Sanderson
725a7e3121
Enable 3d rotations
2020-06-01 16:21:18 -07:00
Grant Sanderson
e882356264
Small cleanups to the shader files
2020-05-31 17:31:03 -07:00
Grant Sanderson
00dcc14df1
Fixed the random-dimples-on-zeros bug while fixing up the fill shaders
2020-05-31 17:02:05 -07:00
kolibril13
6eabbe943b
Changed -1 to -1.0 for broader GPU suppot.
...
Some GLSL compilers are more sensitive to types than others. With this fix, my Intel HD Graphics 5500 (Broadwell GT2) gives no error on this script anymore.
2020-03-30 20:26:06 +02:00
Grant Sanderson
673b85f129
Prep quadratic bezier shaders to work in 3d
2020-02-16 10:53:16 -08:00
Grant Sanderson
1a0b0e748c
Fixed pixel_coords_to_space_coords
2020-02-14 10:52:39 -08:00
Grant Sanderson
e5d8f83dbf
Implemented ImageMobject with shaders
2020-02-13 10:39:26 -08:00
Grant Sanderson
3f0cc56665
Separate out the point_to_gl_Position function, which needs to be updated later
2020-02-12 18:05:22 -08:00
Grant Sanderson
50c7dd7d48
Don't have fill shader use quick (flawed) sdf
2020-02-12 13:24:15 -08:00
Grant Sanderson
cb31ce3049
Temporarily(?) allow stroke shader to sometimes cross triangles so as to avoid other artifacts
2020-02-12 12:51:36 -08:00
Grant Sanderson
15e3178721
Incorporate frame_center in translation to gl_Position
2020-02-11 19:49:54 -08:00
Grant Sanderson
9b3d294464
Change fill shaders to compute orientation inside
2020-02-07 09:31:57 -08:00
Grant Sanderson
0a82229ac1
Have stroke/fill vert shaders take in 3d points
2020-02-05 14:45:42 -08:00
Grant Sanderson
8638f7303a
Added quadratic bezier shader files
2020-02-03 10:52:39 -08:00