Fixed keGrid shortcut flags - will now work on any type of layer-selection…(or just an active doc)
keBatch excluded terms now include “fg” and “bg”, making it : Visible root layers & groups that are named ‘Fx’, ‘Background’, “fg” or “bg” are excluded. (see github for more info)
added keBatch option (T)exture Mode - changes behaviour to a PBR game/vfx-ish texture export workflow:
Exports will be placed in the same dir as the doc (not in a sub-dir as the default mode)
Layers/groups named “b”,“d”,“r”,“m”,“ao”,“e”,“bump”, “disp”, “displacement”, “roughness”, “rough”, “metal”, “metallic”, “emissive”, or “mask”, will be exported as 8-bit grayscale
All others (such as “c” or “n”) will be exported as RGB 8-bit.
The layers/groups will use the document name as basename and add the the layer/group names as suffixes. E.g: “concrete01.kra” exports becomes “concrete01_c”, “concrete01_r” etc.
Note: The export will autosave (saved doc must be latest, far less annoying than to forget…)
P.s. The reason I put “emissive” in the grayscale category is that I prefer to control the color in-engine, and not in texture. Easily changed in the ke_batch.py file like most things here though…
Fwiw, I run oxipng and resizing in a (nemo) bash-script after export.
Fixed automatic Alpha to Transparency Mask assignment. No manual conversion needed. (Just RMB Split-Alpha export)
P.S. Ok, so the remaining task on the list is “Layer-Bounds snapping”, non-modal probably… but I don’t have the time right now… it might be a while! I really hope someone beats me to that one!
I’ve been doing a bit of texturing so - some updates in that area:
dupe (NEW)
Duplicate selection (or entire layer, if no selection) directly into new layer.
→ contextual combo-variant of the built-in features (ctrl-j, ctrl-alt-j)
…but mostly to circumvent my sluggish (4k+) clipboard performance in Krita (probably not because of Krita)
Shortcut available (not assigned by default)
Tip: Also works on groups (as if the group was merged)
chPack (Update)
now uses clone layers (when not making new doc) to enable (non-destructive) “orm” export for BET
“o” naming for grayscale nodes added (occlusion, “ao” alt.)
chPack detects “ao”/“o”,“r” & “m” naming in selected nodes and names chPack group “orm”
note: A 4th node selected will add the alpha layer, but, note that the Alpha layer cannot be a clone: Re-run chPack or manually update.
note: Re-running chPack will replace an already existing “orm” group if found
chPack now auto-merges groups when making a new doc, for convenience
And v0.20! misc bits and bobs… (link in previous post)
(New) Invert Green Channel - One-click macro for faster normal map work
(New) Desaturate - Faster workflow with one click/shortcut. Tip: Undo on single layer will reveal desaturated copy! (+also works on groups, auto-merging a copy!)
(Update) keGrid - snapping auto-toggle removed (To me, grid snapping is not useful at all without layer-bounds/center snapping - grid snapping will be on/off when keGrid is toggled on/off, as old default.)