Blender Git Loki

Git Commits -> Revision dda2bdd

April 12, 2019, 09:14 (GMT)
GPencil: Improves Dot Texture rotation

Before when you use textures in a Dot stroke, the texture did not rotate with the stroke and always kept locked to North (0, 1).

Now, the rotation of the texture is calculated using the previous point to determine the direction of the stroke and rotate the texture following the drawing path.

Commit Details:

Full Hash: dda2bdd8195151d7010d8ad7576272b51d546714
Parent Commit: e48795c
Lines Changed: +88, -6

4 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+21, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_point_geom.glsl (+62, -5) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021