Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Feature Requests => [C4D] Resolved Feature Requests => Topic started by: leo3d on 2016-08-04, 14:48:45

Title: Simple Carpaint Shader
Post by: leo3d on 2016-08-04, 14:48:45
that all
Title: Re: Simple Carpaint Shader
Post by: maru on 2016-08-04, 15:38:11
Something like this?
The principles are the same as in this 3ds Max tutorial:
Title: Re: Simple Carpaint Shader
Post by: leo3d on 2016-08-04, 17:19:04
yes but simple, as vraycar paint
Title: Re: Simple Carpaint Shader
Post by: maru on 2016-08-04, 17:22:20
ah, I didn't notice it's a feature request, sorry :)
Title: Re: Simple Carpaint Shader
Post by: Juraj on 2016-08-05, 18:45:04
This reminds me of the absolutely brutally fantastic feature of Unreal Engine shading system. A Master-material.

Basically, you create a simplified instance of your shader with any parameters exposed you want. No coding required.

So for example a car shader, you would build the complex network of full shader using regular CoronaMTL (a "Master shader" ), and then create a shader-instance from it that would expose glossiness and color for example. Anytime your would create another color of car shader, you would use your master-instance, which even 3 weeks old monkey would be able to, using just 2 clicks. People could share those.

Of course, another benefit is the propagation from master into instances but that's other topic.

A full OSL support in Corona would do this in more complex way. But master/instance shader is fantastic thing to create as many specialized 'fast-to-use' shaders without having to hard-code dedicated shader for everything (car-paint, skin-shader, sand-shader,etc...).
Title: Re: Simple Carpaint Shader
Post by: lacilaci on 2016-08-06, 09:03:36
This reminds me of the absolutely brutally fantastic feature of Unreal Engine shading system. A Master-material.

Basically, you create a simplified instance of your shader with any parameters exposed you want. No coding required.

So for example a car shader, you would build the complex network of full shader using regular CoronaMTL (a "Master shader" ), and then create a shader-instance from it that would expose glossiness and color for example. Anytime your would create another color of car shader, you would use your master-instance, which even 3 weeks old monkey would be able to, using just 2 clicks. People could share those.

Of course, another benefit is the propagation from master into instances but that's other topic.

A full OSL support in Corona would do this in more complex way. But master/instance shader is fantastic thing to create as many specialized 'fast-to-use' shaders without having to hard-code dedicated shader for everything (car-paint, skin-shader, sand-shader,etc...).

Material instancing in unreal is useful mainly cause no recompiling is needed for changes made to instances. What you want here is more equivalent to node grouping in material/node editor, similar to how node editor in blender works for example, where you group nodes and create input/output parameters. I guess that however is a feature that max would have to support in it's slate material editor in the first place.
Title: Re: Simple Carpaint Shader
Post by: Juraj on 2016-08-08, 11:37:20
You're right, a simple node group would make it, but I would still want a simplified export of it. Such gui overlay could be used in simple mat editor for very fast tweaking without any access to underlying shader tree.

It would allow me to make set of quick Autodesk style arch shaders.
Title: Re: Simple Carpaint Shader
Post by: Ludvik Koutny on 2016-08-11, 19:21:53
There have been numerous requests directed at Autodesk to have ability to group and compound-ize nodes in slate material editor to create presets and macros with custom set of exposed parameters. I would make myself a few, for edge weathering, or landscape mapping, fake falloff for fabrics, etc.... Unfortunately, even after getting dozens of them every year for about 5 years, Autodesk manages to keep fingers stuck in their ears and loudly go NANANANANA!
Title: Re: Simple Carpaint Shader
Post by: Juraj on 2016-08-11, 19:53:19
True, slate isn't even a new thing by now