Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Jpjapers on 2017-09-27, 01:38:03

Title: Metals in viewport
Post by: Jpjapers on 2017-09-27, 01:38:03
Hi,

Im probably being stupid but is there a way to get materials with high IOR to display in the viewport? Currently they just display black.
Title: Re: Metals in viewport
Post by: romullus on 2017-09-27, 11:18:19
Only by using shell material and replacing viewport submaterial with something that has non zero diffuse.
Title: Re: Metals in viewport
Post by: Ludvik Koutny on 2017-09-27, 12:42:10
Lot easier actually, I use this workaround also in V-Ray where refraction at 1.0 makes glass invisible.

Just plug for example CoronaColor set to complete black, or Output map with RGB Level at 0, or Multiply map with both slots set to black (pretty much anything that outputs just plain black color and is not slow) into diffuse slot of your material. You will then have correct black diffuse for metals in render. Now you can simply change your diffuse color swatch in your CoronaMTL to bright gray, to represent metal, but rendering will still use the map in the diffuse slot, and diffuse color swatch in CoronaMTL will be ignored, so everything will work right :)
Title: Re: Metals in viewport
Post by: davemahi on 2017-09-27, 15:52:41
Lot easier actually, I use this workaround also in V-Ray where refraction at 1.0 makes glass invisible.

Just plug for example CoronaColor set to complete black, or Output map with RGB Level at 0, or Multiply map with both slots set to black (pretty much anything that outputs just plain black color and is not slow) into diffuse slot of your material. You will then have correct black diffuse for metals in render. Now you can simply change your diffuse color swatch in your CoronaMTL to bright gray, to represent metal, but rendering will still use the map in the diffuse slot, and diffuse color swatch in CoronaMTL will be ignored, so everything will work right :)

Exactly. This is a nice little trick to solve that problem. Thanks for sharing it.