Speed of complicated Shader
Helper last edited by
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/09/2005 at 14:06, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Language(s) : C++ ;
I am creating a fairly complicated shader that requires a fair bit of processing, quite a bit of Sampling existing shaders.
Now, when C4D creates a preview of the shader in the AM, its quite fast (fast enough to use), when rendering, the shader is fast enough to use. The problem I am getting is when C4D updates the editor window and maps a low res version across a mesh, this is taking FOR-EVER.
I can speed this up a bit by generating a basic version of the shader when !cd->vd, but this also creates a basic version in the preview of the AM, which i don't really want.
Is there someway to detect what part of c4d is creating the shader for previewing, so I could create the basic version on just the editor update stage?
Or any other suggestions hanging around?