Author Topic: Compose with CShading_SourceColor  (Read 3059 times)

2015-09-03, 19:55:38

Alan

  • Active Users
  • **
  • Posts: 25
    • View Profile
Hello guys,

There is some way to compose the beauty with the elements, but using the CShading_sourcecolor? If I use the CESSENTIAL passes, I can't manipulate the shadows, and etc. What is the best way to do this?

Thanks

2015-09-03, 22:16:13
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
if you do source color * raw lighting, you will get cessential for that BRDF component
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-09-13, 23:59:19
Reply #2

Alan

  • Active Users
  • **
  • Posts: 25
    • View Profile
Thanks Ondra, it's working!

I got the beauty passe doing this:

source color * raw lighting + reflection + refraction + emission + translucency

It's okay by here, the only problem is that the raw lighting is giving me the indirect light together, and not only the light, because this I'm not able to grading only the indirect light if I want.

2015-09-14, 00:11:03
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
you can revert the formula

lighting = source_color * raw
raw = lighting / source_color

i.e. raw_indirect = lighting_indirect / source

where lighting_indirect is (CESSENTIAL indirect pass
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-09-16, 21:08:41
Reply #4

Alan

  • Active Users
  • **
  • Posts: 25
    • View Profile