Search found 3 matches

by tiendat414
Sat May 16, 2026 2:36 am
Forum: Scripting
Topic: Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?
Replies: 4
Views: 1543

Re: Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?

"inverted" means changing the sign of the fOffset value (an AnimVal channel) -- so for example if you have animated layer effects on and you start with an offset of (say) 50 pixels then click the "invert" checkbox at (say) frame 20 - what will happen is that the offset interpola...
by tiendat414
Sat May 16, 2026 1:35 am
Forum: Scripting
Topic: Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?
Replies: 4
Views: 1543

Re: Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?

synthsin75 wrote: Fri May 15, 2026 11:33 pm I don't remember what these do:
fShadingNoiseAmp
fShadingNoiseScale

From: https://mohoscripting.com/classes/mohol ... properties
I also don't know what these two parameters are for. Are they included in these two parameters?
by tiendat414
Fri May 15, 2026 11:11 pm
Forum: Scripting
Topic: Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?
Replies: 4
Views: 1543

Missing Lua API bindings for Layer Shading "Inverted" and "Threshold"?

Hi everyone, I'm currently developing a custom Lua script for Moho 14 to automate my shading workflow. My goal is to create a pure, one-click tool that instantly applies specific Layer Shading settings to multiple selected layers without needing to interact with the UI dialogs. I have successfully a...