Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there any way to detect, inside a shader plugin, that the code is being executed to produce the Material Editor thumbnail preview or of it is being executed on an editor or Picture Viewer render?
Hi,
check RENDERFLAGS (Link). You will have listen in NodeData.Message() for them. I never did use this, but checking for RENDERFLAGS_PREVIEWRENDER sounds promising.
RENDERFLAGS
NodeData.Message()
RENDERFLAGS_PREVIEWRENDER
Cheers zipit