Baking alpha
Posted: 16 June 2021 01:03 PM   [ Ignore ]  
Total Posts:  396
Joined  2012-01-05

Hello
I’m having an issue with a material I’m trying to bake to export into an FBX.  It is a C4d native material that is trying to replicate a cone of light coming from a spotlight.  I created a cone that matched my light, then put some noise and gradient in the alpha channel.
However the alpha channel doesn’t seem to want to bake out at all.  I can get color but no alpha.

Thanks for any suggestions!  Project file below

https://www.dropbox.com/s/esfepmcvmrmiq0h/LightCone.c4d?dl=0

Profile
 
 
Posted: 16 June 2021 02:34 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  10501
Joined  2011-03-03

Hi Alex,

Thanks for the file and for using Dropbox.

Yes, no idea why the Alpha channel shows up problematic.
Anyway, I have copied the Layer-shader into the Luminance and baked it from there.

Then changed both with the Color and Alpha image.

Let me know if that works for you.

Here is the FBX file with the two textures.

https://www.amazon.com/clouddrive/share/s2GtiMVQoLMjfWskBsBLucjcsrZzshas1T35SFm1RpG

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 17 June 2021 05:44 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  396
Joined  2012-01-05

Ha good solve!
Thank you!

Profile
 
 
Posted: 17 June 2021 06:38 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
Total Posts:  10501
Joined  2011-03-03

You’re very welcome, Alex.

I explored it a little bit more, and weirdly enough, the second+ layer disables the baking for alpha.

A report is written, and I hope we will see this working soon. I believe an Alpha channel should always be linear, as it is a data channel, nothing that we need to see with a gamma transformation.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 17 June 2021 12:30 PM   [ Ignore ]   [ # 4 ]  
Total Posts:  396
Joined  2012-01-05

Got it, thank you for reporting that Sassi. 

Have a great day!

Profile
 
 
Posted: 17 June 2021 12:32 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
Total Posts:  10501
Joined  2011-03-03

You’re very welcome, Alex.

My best wishes for your project!

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile