Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: johnnyswedish on 2022-09-29, 16:48:33

Title: Double Sided Decal
Post by: johnnyswedish on 2022-09-29, 16:48:33
Hi Forum!

I have a scene with a frosted glass panel with a logo decal on the front. Is there a simple way to make the back white or coloured? When you view the panel from the back you see the logo in reverse wich i dont want. See attached at the top. Many Thanks :-) John
Title: Re: Double Sided Decal
Post by: maru on 2022-09-29, 18:05:51
In Max, you can do it with a FrontBack map. I am not 100% sure if this map exists in C4D, but if  not, there should be some native equivalent - something like 2-sided or normal shader.
Title: Re: Double Sided Decal
Post by: johnnyswedish on 2022-09-29, 19:13:00
Hi Maru & thanks for the reply. Nothing similar unfortunately. I did once see a 2 sided tutorial but can't find it anymore.
Title: Re: Double Sided Decal
Post by: TomG on 2022-09-29, 20:32:25
You can build this, at least I think this does what you want. Use a Corona Layer Shader, and a C4D native Normal Direction as the mask. Now you plug in what material you want in the front direction, what material you want in the back direction, and apply the Layer Shader to the Decal object. You could put the same base material from what you are projecting ONTO into the Base Material in the Layered Shader, but here I used a different one just so you can see which is which :) The approach here would be e.g. if you wanted a plain white back on the decal as you might find on the back of a label. Or a mirrored version of the front texture so it reads the right way.

You could also reverse the colors of the Normal Direction if you find it easier to think of the Base Material as the Decal and the Material 1 as the backside of the decal.
Title: Re: Double Sided Decal
Post by: johnnyswedish on 2022-09-29, 21:24:08
You are a LEGEND Tom! Thank you :-) John
Title: Re: Double Sided Decal
Post by: TomG on 2022-09-30, 13:10:21
Sounds like it does do what you need, excellent! We're always happy to help!
Title: Re: Double Sided Decal
Post by: johnnyswedish on 2022-09-30, 13:53:19
Have A good weekend... Any ETA on daily build for 2023? Just eager. Working on R26 for now so not winging!
Title: Re: Double Sided Decal
Post by: Beanzvision on 2022-09-30, 14:56:21
Have A good weekend... Any ETA on daily build for 2023? Just eager. Working on R26 for now so not winging!

It's been out for a while now ;)
https://drive.google.com/drive/folders/1xoDTlVaxw6ovZ3-KLhUjdn5DowtEuAic
Title: Re: Double Sided Decal
Post by: johnnyswedish on 2022-09-30, 16:25:33
Got this one but IR don't work. Happy using R26 until next release, Thanks :-)
Title: Re: Double Sided Decal
Post by: TomG on 2022-09-30, 16:28:05
We'd like to know more about that, as IR and everything else is working fine here (have been using nothing but 2023 since a day or two after we came out with that daily - though of course I am using a newer daily now). Can you explain what is meant by doesn't work, e.g. it's black, it doesn't start, it crashes, it locks up? Thanks!
Title: Re: Double Sided Decal
Post by: johnnyswedish on 2022-10-01, 17:45:08
Hi Tom,

Since yesterdays update all is running smoooooth. Thanks guys! I also have HDR Light Studio running IR well without any problems. :-)
Title: Re: Double Sided Decal
Post by: TomG on 2022-10-03, 13:48:23
Great to hear! TY for letting us know :)