GetDirty and GetHDirty for animated shaders

On 17/11/2017 at 06:30, xxxxxxxx wrote:


regarding Dirty and HDirty (the H stands for Hierarchy) I'd like to recommend the read of the C4DAtom Manual about Dirty States.

Unfortunately there's no simple way to optimize this.
Cinema 4D itself has a similar checkbox in the Editor tab, called "Animated Preview".
The only thing that comes to mind is some kind of white listing shaders for which you need to do the "per frame update". But then again, don't forget about shaders, which support sub-shaders.