A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Bake procedurally generated maps in the C4D reflectance channel for use as PBS shader in Unity
Posted: 16 March 2017 11:25 PM   [ Ignore ]  
Avatar
Total Posts:  29
Joined  2008-02-19

Hello,
I’m curious to see if there are any suggestions to bake the procedurally generated noise maps from the reflectance channel in C4D to a greyscale image for use in Unity - and PBS shaders.
—I don’t expect the output to be a perfect PBS conversion, but a decent starting point.

Alternatively, if there are specific tutorials, or tools, scripts or plugins that specialize in this - that would be good too. (export C4D material to Albedo, Metallic/smoothness, Normal, AO, etc)

Thanks in advance for your help.

Cheers,
Jamie

edit * added “from the reflectance channel ”

 Signature 

Imagination is more important than knowledge. Knowledge is limited.
- albert einstein

Profile
 
 
Posted: 17 March 2017 12:31 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Jamie,

This sounds like a simple to answer question, just use the Bake Texture Tag and click the Reflection-option without “Use Camera Angle” and go (while having only this object visible except a white Sky object). But it’s certainly not that simple.

The first thing that comes to mind is the self-reflection. Well, in most cases a copy of the model shifted with a very tiny “Normal Shift” would do the trick, while the new model gets only a while illumination as material.
Then in most cases that might work, except if the inner edges are not too small. The small shift allows only to reflect the bright object and yes, colors (in the reflection channel) will change the outcome. Which leads to:

The next idea would be to move the texture of the “noise shader” into the Luminance Channel. Then Bake the Luminance Channel and use the baked texture for the transfer. Perhaps if one has a mask for several refections or a limitation of areas, this needs to be combined, in the Luminance Channel or later. From here the next would be:

Which brings up the question, why not using a texture from the start and share it. Yes, I’m aware of the differences between Shaders (especially 3D shaders) and textures (as in fixed resolution). But If one has to create a texture anyway, the question seems kind of natural.

As you wrote, “I don’t expect the output to be a perfect PBS conversion…”, how much those texture will give you real world (e.g., BTS) quality is not clear to me, physical based rendering is a loosely used term and used from “looks cool” to “a precise simulation of, e.g., metallic car paint with various qualities regarding “subtle angular dependency but also significant spatial variation” [Uni Bonn].
This sounds very geeky, but only meant to concur with your expectations.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile