Hacker News new | ask | show | jobs
by draneria 585 days ago
Thank you! Last year there was a special breakthrough for Krita, because a contributor called Memileo figured out a way to bake light into the brushes using Blender. They made a beautiful Impasto set (https://krita-artists.org/t/rotating-light-brushtips-wip/649...), their work was a huge help for my own brushes :)
1 comments

Memileo's results and your own are both incredible. Wow.

How baked in is the light position? I'd imagine it's possible to rotate the light in editor but not change it's height (without some work in Blender).

Ah, you would need to ask them for a concrete answer, but my understanding is that it is completely baked in.

Long optional explanation:

I say that because I think Memileo sculpted the actual brushstroke in Blender (https://krita-artists.org/uploads/default/original/3X/5/7/57...) and rendered lighting at different angles, and exported each as an image.

Each rendered image becomes 1 frame of the "animated brushtip", with the option that each frame matches "direction" rather then being "incremental", and thats how you get the faux-light!

The cool thing is that you can extract and edit the animated brushtip in Krita e.g. this one "https://github.com/Draneria/Metallics-by-Draneria_Krita-Brus..."

Which means theoretically, you could use photo editing to change the height I think!

Great stuff, it's good to hear how brushes work in these programs, reminds me of a great chat with one of the MyPaint devs.
Coolest thing I've seen all day. Thanks!